AccuCampus OpenAPI 3 Documentation

Default

actionassignmentdelete

Remove an action item from an action plan

Allows a user to remove an action item from a user's action plan.


/actionassignmentdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actionassignmentdelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action assignment to delete.
        try {
            apiInstance.actionassignmentdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action assignment to delete.
        try {
            apiInstance.actionassignmentdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the action assignment to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Remove an action item from an action plan
[apiInstance actionassignmentdeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the action assignment to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionassignmentdelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionassignmentdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the action assignment to delete. (default to null)

            try
            {
                // Remove an action item from an action plan
                apiInstance.actionassignmentdelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionassignmentdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action assignment to delete.

try {
    $api_instance->actionassignmentdelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionassignmentdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the action assignment to delete.

eval { 
    $api_instance->actionassignmentdelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionassignmentdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the action assignment to delete. (default to null)

try: 
    # Remove an action item from an action plan
    api_instance.actionassignmentdelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->actionassignmentdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.actionassignmentdelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the action assignment to delete.
Required

Responses


actionassignmentget

Search and view details of an action item assigned to a user

Allows the user to view an individual action item and its details, minus all the action item's updates.


/actionassignmentget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actionassignmentget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action assignment to get.
        try {
            apiInstance.actionassignmentget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action assignment to get.
        try {
            apiInstance.actionassignmentget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the action assignment to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of an action item assigned to a user
[apiInstance actionassignmentgetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the action assignment to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionassignmentget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionassignmentgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the action assignment to get. (default to null)

            try
            {
                // Search and view details of an action item assigned to a user
                apiInstance.actionassignmentget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionassignmentget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action assignment to get.

try {
    $api_instance->actionassignmentget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionassignmentget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the action assignment to get.

eval { 
    $api_instance->actionassignmentget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionassignmentget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the action assignment to get. (default to null)

try: 
    # Search and view details of an action item assigned to a user
    api_instance.actionassignmentget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->actionassignmentget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.actionassignmentget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the action assignment to get.
Required

Responses


actionassignmentlist

View a list of action items in a user's plan

Allows the user to view the list of all action items for a specified user.


/actionassignmentlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actionassignmentlist?token=&from=&count=&assignee=&status="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Integer assignee = 56; // Integer | The assignee's id to filter the assignments.
        Integer status = 56; // Integer | The status to filter the assignments.
        try {
            apiInstance.actionassignmentlist(token, from, count, assignee, status);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Integer assignee = 56; // Integer | The assignee's id to filter the assignments.
        Integer status = 56; // Integer | The status to filter the assignments.
        try {
            apiInstance.actionassignmentlist(token, from, count, assignee, status);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
Integer *assignee = 56; // The assignee's id to filter the assignments. (optional) (default to null)
Integer *status = 56; // The status to filter the assignments. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of action items in a user's plan
[apiInstance actionassignmentlistWith:token
    from:from
    count:count
    assignee:assignee
    status:status
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'assignee': 56, // {Integer} The assignee's id to filter the assignments.
  'status': 56 // {Integer} The status to filter the assignments.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionassignmentlist(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionassignmentlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var assignee = 56;  // Integer | The assignee's id to filter the assignments. (optional)  (default to null)
            var status = 56;  // Integer | The status to filter the assignments. (optional)  (default to null)

            try
            {
                // View a list of action items in a user's plan
                apiInstance.actionassignmentlist(token, from, count, assignee, status);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionassignmentlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$assignee = 56; // Integer | The assignee's id to filter the assignments.
$status = 56; // Integer | The status to filter the assignments.

try {
    $api_instance->actionassignmentlist($token, $from, $count, $assignee, $status);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionassignmentlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $assignee = 56; # Integer | The assignee's id to filter the assignments.
my $status = 56; # Integer | The status to filter the assignments.

eval { 
    $api_instance->actionassignmentlist(token => $token, from => $from, count => $count, assignee => $assignee, status => $status);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionassignmentlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
assignee = 56 # Integer | The assignee's id to filter the assignments. (optional) (default to null)
status = 56 # Integer | The status to filter the assignments. (optional) (default to null)

try: 
    # View a list of action items in a user's plan
    api_instance.actionassignmentlist(token, from, count, assignee=assignee, status=status)
except ApiException as e:
    print("Exception when calling DefaultApi->actionassignmentlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let assignee = 56; // Integer
    let status = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.actionassignmentlist(token, from, count, assignee, status, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
assignee
Integer (int32)
The assignee's id to filter the assignments.
status
Integer (int32)
The status to filter the assignments.

Responses


actionassignmentlisthistory

View the history of an action item assigned to a user

Allows the user to view an individual action plan and its details, including all the action plan's updates.


/actionassignmentlisthistory

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actionassignmentlisthistory?token=&actionassignment="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID actionassignment = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The action assignment's id whose history the user wants to get.
        try {
            apiInstance.actionassignmentlisthistory(token, actionassignment);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentlisthistory");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID actionassignment = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The action assignment's id whose history the user wants to get.
        try {
            apiInstance.actionassignmentlisthistory(token, actionassignment);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentlisthistory");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *actionassignment = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The action assignment's id whose history the user wants to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View the history of an action item assigned to a user
[apiInstance actionassignmentlisthistoryWith:token
    actionassignment:actionassignment
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var actionassignment = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The action assignment's id whose history the user wants to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionassignmentlisthistory(token, actionassignment, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionassignmentlisthistoryExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var actionassignment = new UUID(); // UUID | The action assignment's id whose history the user wants to get. (default to null)

            try
            {
                // View the history of an action item assigned to a user
                apiInstance.actionassignmentlisthistory(token, actionassignment);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionassignmentlisthistory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$actionassignment = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The action assignment's id whose history the user wants to get.

try {
    $api_instance->actionassignmentlisthistory($token, $actionassignment);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionassignmentlisthistory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $actionassignment = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The action assignment's id whose history the user wants to get.

eval { 
    $api_instance->actionassignmentlisthistory(token => $token, actionassignment => $actionassignment);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionassignmentlisthistory: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
actionassignment = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The action assignment's id whose history the user wants to get. (default to null)

try: 
    # View the history of an action item assigned to a user
    api_instance.actionassignmentlisthistory(token, actionassignment)
except ApiException as e:
    print("Exception when calling DefaultApi->actionassignmentlisthistory: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let actionassignment = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.actionassignmentlisthistory(token, actionassignment, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
actionassignment*
UUID (uuid)
The action assignment's id whose history the user wants to get.
Required

Responses


actionassignmentlistmine

List public action assignments assigned to the logged user


/actionassignmentlistmine

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actionassignmentlistmine?token=&from=&count=&status="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Integer status = 56; // Integer | The status to filter the assignments.
        try {
            apiInstance.actionassignmentlistmine(token, from, count, status);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentlistmine");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Integer status = 56; // Integer | The status to filter the assignments.
        try {
            apiInstance.actionassignmentlistmine(token, from, count, status);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentlistmine");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
Integer *status = 56; // The status to filter the assignments. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// List public action assignments assigned to the logged user
[apiInstance actionassignmentlistmineWith:token
    from:from
    count:count
    status:status
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'status': 56 // {Integer} The status to filter the assignments.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionassignmentlistmine(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionassignmentlistmineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var status = 56;  // Integer | The status to filter the assignments. (optional)  (default to null)

            try
            {
                // List public action assignments assigned to the logged user
                apiInstance.actionassignmentlistmine(token, from, count, status);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionassignmentlistmine: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$status = 56; // Integer | The status to filter the assignments.

try {
    $api_instance->actionassignmentlistmine($token, $from, $count, $status);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionassignmentlistmine: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $status = 56; # Integer | The status to filter the assignments.

eval { 
    $api_instance->actionassignmentlistmine(token => $token, from => $from, count => $count, status => $status);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionassignmentlistmine: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
status = 56 # Integer | The status to filter the assignments. (optional) (default to null)

try: 
    # List public action assignments assigned to the logged user
    api_instance.actionassignmentlistmine(token, from, count, status=status)
except ApiException as e:
    print("Exception when calling DefaultApi->actionassignmentlistmine: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let status = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.actionassignmentlistmine(token, from, count, status, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
status
Integer (int32)
The status to filter the assignments.

Responses


actionassignmentlistpublichistory

List public action assignment history


/actionassignmentlistpublichistory

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actionassignmentlistpublichistory?token=&actionassignment="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID actionassignment = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The action assignment's id whose history the user wants to get.
        try {
            apiInstance.actionassignmentlistpublichistory(token, actionassignment);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentlistpublichistory");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID actionassignment = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The action assignment's id whose history the user wants to get.
        try {
            apiInstance.actionassignmentlistpublichistory(token, actionassignment);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentlistpublichistory");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *actionassignment = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The action assignment's id whose history the user wants to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// List public action assignment history
[apiInstance actionassignmentlistpublichistoryWith:token
    actionassignment:actionassignment
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var actionassignment = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The action assignment's id whose history the user wants to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionassignmentlistpublichistory(token, actionassignment, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionassignmentlistpublichistoryExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var actionassignment = new UUID(); // UUID | The action assignment's id whose history the user wants to get. (default to null)

            try
            {
                // List public action assignment history
                apiInstance.actionassignmentlistpublichistory(token, actionassignment);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionassignmentlistpublichistory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$actionassignment = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The action assignment's id whose history the user wants to get.

try {
    $api_instance->actionassignmentlistpublichistory($token, $actionassignment);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionassignmentlistpublichistory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $actionassignment = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The action assignment's id whose history the user wants to get.

eval { 
    $api_instance->actionassignmentlistpublichistory(token => $token, actionassignment => $actionassignment);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionassignmentlistpublichistory: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
actionassignment = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The action assignment's id whose history the user wants to get. (default to null)

try: 
    # List public action assignment history
    api_instance.actionassignmentlistpublichistory(token, actionassignment)
except ApiException as e:
    print("Exception when calling DefaultApi->actionassignmentlistpublichistory: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let actionassignment = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.actionassignmentlistpublichistory(token, actionassignment, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
actionassignment*
UUID (uuid)
The action assignment's id whose history the user wants to get.
Required

Responses


actionassignmentmarkcomplete

Bulk complete action items

Allows the user to bulk complete action items.


/actionassignmentmarkcomplete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actionassignmentmarkcomplete?token=&assignee=&group=&item=¬es="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String item = item_example; // String | The action item to assign.
        UUID assignee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The assignee of the item.
        UUID group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The group to assing the item.
        String notes = notes_example; // String | The assignment's notes.
        try {
            apiInstance.actionassignmentmarkcomplete(token, item, assignee, group, notes);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentmarkcomplete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String item = item_example; // String | The action item to assign.
        UUID assignee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The assignee of the item.
        UUID group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The group to assing the item.
        String notes = notes_example; // String | The assignment's notes.
        try {
            apiInstance.actionassignmentmarkcomplete(token, item, assignee, group, notes);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentmarkcomplete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *item = item_example; // The action item to assign. (default to null)
UUID *assignee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The assignee of the item. (optional) (default to null)
UUID *group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The group to assing the item. (optional) (default to null)
String *notes = notes_example; // The assignment's notes. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Bulk complete action items
[apiInstance actionassignmentmarkcompleteWith:token
    item:item
    assignee:assignee
    group:group
    notes:notes
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var item = item_example; // {String} The action item to assign.
var opts = {
  'assignee': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The assignee of the item.
  'group': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The group to assing the item.
  'notes': notes_example // {String} The assignment's notes.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionassignmentmarkcomplete(token, item, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionassignmentmarkcompleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var item = item_example;  // String | The action item to assign. (default to null)
            var assignee = new UUID(); // UUID | The assignee of the item. (optional)  (default to null)
            var group = new UUID(); // UUID | The group to assing the item. (optional)  (default to null)
            var notes = notes_example;  // String | The assignment's notes. (optional)  (default to null)

            try
            {
                // Bulk complete action items
                apiInstance.actionassignmentmarkcomplete(token, item, assignee, group, notes);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionassignmentmarkcomplete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$item = item_example; // String | The action item to assign.
$assignee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The assignee of the item.
$group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The group to assing the item.
$notes = notes_example; // String | The assignment's notes.

try {
    $api_instance->actionassignmentmarkcomplete($token, $item, $assignee, $group, $notes);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionassignmentmarkcomplete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $item = item_example; # String | The action item to assign.
my $assignee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The assignee of the item.
my $group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The group to assing the item.
my $notes = notes_example; # String | The assignment's notes.

eval { 
    $api_instance->actionassignmentmarkcomplete(token => $token, item => $item, assignee => $assignee, group => $group, notes => $notes);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionassignmentmarkcomplete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
item = item_example # String | The action item to assign. (default to null)
assignee = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The assignee of the item. (optional) (default to null)
group = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The group to assing the item. (optional) (default to null)
notes = notes_example # String | The assignment's notes. (optional) (default to null)

try: 
    # Bulk complete action items
    api_instance.actionassignmentmarkcomplete(token, item, assignee=assignee, group=group, notes=notes)
except ApiException as e:
    print("Exception when calling DefaultApi->actionassignmentmarkcomplete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let item = item_example; // String
    let assignee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let notes = notes_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.actionassignmentmarkcomplete(token, item, assignee, group, notes, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
assignee
UUID (uuid)
The assignee of the item.
group
UUID (uuid)
The group to assing the item.
item*
String
The action item to assign.
Required
notes
String
The assignment's notes.

Responses


actionassignmentsave

Add an action item to a user's action plan

Allows the user to edit or assign an action item to a user


/actionassignmentsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/actionassignmentsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.actionassignmentsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.actionassignmentsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Add an action item to a user's action plan
[apiInstance actionassignmentsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionassignmentsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionassignmentsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Add an action item to a user's action plan
                apiInstance.actionassignmentsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionassignmentsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->actionassignmentsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionassignmentsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->actionassignmentsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionassignmentsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Add an action item to a user's action plan
    api_instance.actionassignmentsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->actionassignmentsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.actionassignmentsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


actionassignmentsavehistory

Update an action item assigned to a user

Allows the user to update or mark an action item as complete.


/actionassignmentsavehistory

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/actionassignmentsavehistory"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.actionassignmentsavehistory(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentsavehistory");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.actionassignmentsavehistory(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionassignmentsavehistory");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Update an action item assigned to a user
[apiInstance actionassignmentsavehistoryWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionassignmentsavehistory(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionassignmentsavehistoryExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Update an action item assigned to a user
                apiInstance.actionassignmentsavehistory(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionassignmentsavehistory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->actionassignmentsavehistory($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionassignmentsavehistory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->actionassignmentsavehistory(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionassignmentsavehistory: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Update an action item assigned to a user
    api_instance.actionassignmentsavehistory(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->actionassignmentsavehistory: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.actionassignmentsavehistory(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


actionitemdelete

Delete an action item

Allows the user to delete an action item.


/actionitemdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actionitemdelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action item to delete.
        try {
            apiInstance.actionitemdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionitemdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action item to delete.
        try {
            apiInstance.actionitemdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionitemdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the action item to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete an action item
[apiInstance actionitemdeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the action item to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionitemdelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionitemdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the action item to delete. (default to null)

            try
            {
                // Delete an action item
                apiInstance.actionitemdelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionitemdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action item to delete.

try {
    $api_instance->actionitemdelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionitemdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the action item to delete.

eval { 
    $api_instance->actionitemdelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionitemdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the action item to delete. (default to null)

try: 
    # Delete an action item
    api_instance.actionitemdelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->actionitemdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.actionitemdelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the action item to delete.
Required

Responses


actionitemget

Search and view details of an action item

Allows the user to view an individual action item and its details.


/actionitemget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actionitemget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action item to get.
        try {
            apiInstance.actionitemget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionitemget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action item to get.
        try {
            apiInstance.actionitemget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionitemget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the action item to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of an action item
[apiInstance actionitemgetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the action item to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionitemget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionitemgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the action item to get. (default to null)

            try
            {
                // Search and view details of an action item
                apiInstance.actionitemget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionitemget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action item to get.

try {
    $api_instance->actionitemget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionitemget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the action item to get.

eval { 
    $api_instance->actionitemget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionitemget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the action item to get. (default to null)

try: 
    # Search and view details of an action item
    api_instance.actionitemget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->actionitemget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.actionitemget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the action item to get.
Required

Responses


actionitemlist

View a list of action items

Allows the user to view a list of action items


/actionitemlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actionitemlist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.actionitemlist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionitemlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.actionitemlist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionitemlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of action items
[apiInstance actionitemlistWith:token
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionitemlist(token, from, count, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionitemlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)

            try
            {
                // View a list of action items
                apiInstance.actionitemlist(token, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionitemlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->actionitemlist($token, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionitemlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->actionitemlist(token => $token, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionitemlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)

try: 
    # View a list of action items
    api_instance.actionitemlist(token, from, count)
except ApiException as e:
    print("Exception when calling DefaultApi->actionitemlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.actionitemlist(token, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


actionitemsave

Create or edit an action item

Allows the user to edit an action item.


/actionitemsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/actionitemsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.actionitemsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionitemsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.actionitemsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionitemsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit an action item
[apiInstance actionitemsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionitemsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionitemsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit an action item
                apiInstance.actionitemsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionitemsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->actionitemsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionitemsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->actionitemsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionitemsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit an action item
    api_instance.actionitemsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->actionitemsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.actionitemsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


actionloglist

View a list of users action logs

Allows the user to view the audit logs for the account.


/actionloglist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actionloglist?token=&user=&startdate=&enddate=&resource=&actionfilter=&argument=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        UUID user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user whose action logs have to be returned.
        Date startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the logs.
        Date enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the logs.
        String resource = resource_example; // String | The resource to filter the action logs.
        String actionfilter = actionfilter_example; // String | The action to filter the action logs.
        String argument = argument_example; // String | The id of the entity that was the argument of the executed action.
        try {
            apiInstance.actionloglist(token, from, count, user, startdate, enddate, resource, actionfilter, argument);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionloglist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        UUID user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user whose action logs have to be returned.
        Date startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the logs.
        Date enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the logs.
        String resource = resource_example; // String | The resource to filter the action logs.
        String actionfilter = actionfilter_example; // String | The action to filter the action logs.
        String argument = argument_example; // String | The id of the entity that was the argument of the executed action.
        try {
            apiInstance.actionloglist(token, from, count, user, startdate, enddate, resource, actionfilter, argument);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionloglist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
UUID *user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user whose action logs have to be returned. (optional) (default to null)
Date *startdate = 2013-10-20T19:20:30+01:00; // The start date of the period to filter the logs. (optional) (default to null)
Date *enddate = 2013-10-20T19:20:30+01:00; // The end date of the period to filter the logs. (optional) (default to null)
String *resource = resource_example; // The resource to filter the action logs. (optional) (default to null)
String *actionfilter = actionfilter_example; // The action to filter the action logs. (optional) (default to null)
String *argument = argument_example; // The id of the entity that was the argument of the executed action. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of users action logs
[apiInstance actionloglistWith:token
    from:from
    count:count
    user:user
    startdate:startdate
    enddate:enddate
    resource:resource
    actionfilter:actionfilter
    argument:argument
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'user': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the user whose action logs have to be returned.
  'startdate': 2013-10-20T19:20:30+01:00, // {Date} The start date of the period to filter the logs.
  'enddate': 2013-10-20T19:20:30+01:00, // {Date} The end date of the period to filter the logs.
  'resource': resource_example, // {String} The resource to filter the action logs.
  'actionfilter': actionfilter_example, // {String} The action to filter the action logs.
  'argument': argument_example // {String} The id of the entity that was the argument of the executed action.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionloglist(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionloglistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var user = new UUID(); // UUID | The id of the user whose action logs have to be returned. (optional)  (default to null)
            var startdate = 2013-10-20T19:20:30+01:00;  // Date | The start date of the period to filter the logs. (optional)  (default to null)
            var enddate = 2013-10-20T19:20:30+01:00;  // Date | The end date of the period to filter the logs. (optional)  (default to null)
            var resource = resource_example;  // String | The resource to filter the action logs. (optional)  (default to null)
            var actionfilter = actionfilter_example;  // String | The action to filter the action logs. (optional)  (default to null)
            var argument = argument_example;  // String | The id of the entity that was the argument of the executed action. (optional)  (default to null)

            try
            {
                // View a list of users action logs
                apiInstance.actionloglist(token, from, count, user, startdate, enddate, resource, actionfilter, argument);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionloglist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user whose action logs have to be returned.
$startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the logs.
$enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the logs.
$resource = resource_example; // String | The resource to filter the action logs.
$actionfilter = actionfilter_example; // String | The action to filter the action logs.
$argument = argument_example; // String | The id of the entity that was the argument of the executed action.

try {
    $api_instance->actionloglist($token, $from, $count, $user, $startdate, $enddate, $resource, $actionfilter, $argument);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionloglist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user whose action logs have to be returned.
my $startdate = 2013-10-20T19:20:30+01:00; # Date | The start date of the period to filter the logs.
my $enddate = 2013-10-20T19:20:30+01:00; # Date | The end date of the period to filter the logs.
my $resource = resource_example; # String | The resource to filter the action logs.
my $actionfilter = actionfilter_example; # String | The action to filter the action logs.
my $argument = argument_example; # String | The id of the entity that was the argument of the executed action.

eval { 
    $api_instance->actionloglist(token => $token, from => $from, count => $count, user => $user, startdate => $startdate, enddate => $enddate, resource => $resource, actionfilter => $actionfilter, argument => $argument);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionloglist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
user = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user whose action logs have to be returned. (optional) (default to null)
startdate = 2013-10-20T19:20:30+01:00 # Date | The start date of the period to filter the logs. (optional) (default to null)
enddate = 2013-10-20T19:20:30+01:00 # Date | The end date of the period to filter the logs. (optional) (default to null)
resource = resource_example # String | The resource to filter the action logs. (optional) (default to null)
actionfilter = actionfilter_example # String | The action to filter the action logs. (optional) (default to null)
argument = argument_example # String | The id of the entity that was the argument of the executed action. (optional) (default to null)

try: 
    # View a list of users action logs
    api_instance.actionloglist(token, from, count, user=user, startdate=startdate, enddate=enddate, resource=resource, actionfilter=actionfilter, argument=argument)
except ApiException as e:
    print("Exception when calling DefaultApi->actionloglist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let startdate = 2013-10-20T19:20:30+01:00; // Date
    let enddate = 2013-10-20T19:20:30+01:00; // Date
    let resource = resource_example; // String
    let actionfilter = actionfilter_example; // String
    let argument = argument_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.actionloglist(token, from, count, user, startdate, enddate, resource, actionfilter, argument, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
user
UUID (uuid)
The id of the user whose action logs have to be returned.
startdate
Date (date-time)
The start date of the period to filter the logs.
enddate
Date (date-time)
The end date of the period to filter the logs.
resource
String
The resource to filter the action logs.
actionfilter
String
The action to filter the action logs.
argument
String
The id of the entity that was the argument of the executed action.
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


actionpackassign

Assign an action item pack to a user

Allows the user to assign an action pack to a user or group of users.


/actionpackassign

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actionpackassign?token=&pack=&assignee=&group=&itemsdata=¬es="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID pack = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action pack to assign.
        Boolean itemsdata = true; // Boolean | A JSON array containing the action items' data needed to assign them to the assignee (Id, Event, DateDue, DateExpired, NotifyAssigne).
        UUID assignee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The assignee of the pack.
        UUID group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The group to assign the pack.
        String notes = notes_example; // String | The assignment's notes.
        try {
            apiInstance.actionpackassign(token, pack, itemsdata, assignee, group, notes);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionpackassign");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID pack = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action pack to assign.
        Boolean itemsdata = true; // Boolean | A JSON array containing the action items' data needed to assign them to the assignee (Id, Event, DateDue, DateExpired, NotifyAssigne).
        UUID assignee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The assignee of the pack.
        UUID group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The group to assign the pack.
        String notes = notes_example; // String | The assignment's notes.
        try {
            apiInstance.actionpackassign(token, pack, itemsdata, assignee, group, notes);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionpackassign");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *pack = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the action pack to assign. (default to null)
Boolean *itemsdata = true; // A JSON array containing the action items' data needed to assign them to the assignee (Id, Event, DateDue, DateExpired, NotifyAssigne). (default to null)
UUID *assignee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The assignee of the pack. (optional) (default to null)
UUID *group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The group to assign the pack. (optional) (default to null)
String *notes = notes_example; // The assignment's notes. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Assign an action item pack to a user
[apiInstance actionpackassignWith:token
    pack:pack
    itemsdata:itemsdata
    assignee:assignee
    group:group
    notes:notes
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var pack = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the action pack to assign.
var itemsdata = true; // {Boolean} A JSON array containing the action items' data needed to assign them to the assignee (Id, Event, DateDue, DateExpired, NotifyAssigne).
var opts = {
  'assignee': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The assignee of the pack.
  'group': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The group to assign the pack.
  'notes': notes_example // {String} The assignment's notes.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionpackassign(token, pack, itemsdata, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionpackassignExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var pack = new UUID(); // UUID | The id of the action pack to assign. (default to null)
            var itemsdata = true;  // Boolean | A JSON array containing the action items' data needed to assign them to the assignee (Id, Event, DateDue, DateExpired, NotifyAssigne). (default to null)
            var assignee = new UUID(); // UUID | The assignee of the pack. (optional)  (default to null)
            var group = new UUID(); // UUID | The group to assign the pack. (optional)  (default to null)
            var notes = notes_example;  // String | The assignment's notes. (optional)  (default to null)

            try
            {
                // Assign an action item pack to a user
                apiInstance.actionpackassign(token, pack, itemsdata, assignee, group, notes);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionpackassign: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$pack = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action pack to assign.
$itemsdata = true; // Boolean | A JSON array containing the action items' data needed to assign them to the assignee (Id, Event, DateDue, DateExpired, NotifyAssigne).
$assignee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The assignee of the pack.
$group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The group to assign the pack.
$notes = notes_example; // String | The assignment's notes.

try {
    $api_instance->actionpackassign($token, $pack, $itemsdata, $assignee, $group, $notes);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionpackassign: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $pack = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the action pack to assign.
my $itemsdata = true; # Boolean | A JSON array containing the action items' data needed to assign them to the assignee (Id, Event, DateDue, DateExpired, NotifyAssigne).
my $assignee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The assignee of the pack.
my $group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The group to assign the pack.
my $notes = notes_example; # String | The assignment's notes.

eval { 
    $api_instance->actionpackassign(token => $token, pack => $pack, itemsdata => $itemsdata, assignee => $assignee, group => $group, notes => $notes);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionpackassign: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
pack = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the action pack to assign. (default to null)
itemsdata = true # Boolean | A JSON array containing the action items' data needed to assign them to the assignee (Id, Event, DateDue, DateExpired, NotifyAssigne). (default to null)
assignee = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The assignee of the pack. (optional) (default to null)
group = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The group to assign the pack. (optional) (default to null)
notes = notes_example # String | The assignment's notes. (optional) (default to null)

try: 
    # Assign an action item pack to a user
    api_instance.actionpackassign(token, pack, itemsdata, assignee=assignee, group=group, notes=notes)
except ApiException as e:
    print("Exception when calling DefaultApi->actionpackassign: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let pack = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let itemsdata = true; // Boolean
    let assignee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let notes = notes_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.actionpackassign(token, pack, itemsdata, assignee, group, notes, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
pack*
UUID (uuid)
The id of the action pack to assign.
Required
assignee
UUID (uuid)
The assignee of the pack.
group
UUID (uuid)
The group to assign the pack.
itemsdata*
Boolean
A JSON array containing the action items' data needed to assign them to the assignee (Id, Event, DateDue, DateExpired, NotifyAssigne).
Required
notes
String
The assignment's notes.

Responses


actionpackdelete

Delete an action item pack

Allows the user to delete an action item pack.


/actionpackdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actionpackdelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action pack to delete.
        try {
            apiInstance.actionpackdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionpackdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action pack to delete.
        try {
            apiInstance.actionpackdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionpackdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the action pack to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete an action item pack
[apiInstance actionpackdeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the action pack to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionpackdelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionpackdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the action pack to delete. (default to null)

            try
            {
                // Delete an action item pack
                apiInstance.actionpackdelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionpackdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action pack to delete.

try {
    $api_instance->actionpackdelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionpackdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the action pack to delete.

eval { 
    $api_instance->actionpackdelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionpackdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the action pack to delete. (default to null)

try: 
    # Delete an action item pack
    api_instance.actionpackdelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->actionpackdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.actionpackdelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the action pack to delete.
Required

Responses


actionpackget

View details of an action item pack

Allows the user to view an individual action pack and its details.


/actionpackget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actionpackget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action pack to get.
        try {
            apiInstance.actionpackget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionpackget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action pack to get.
        try {
            apiInstance.actionpackget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionpackget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the action pack to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of an action item pack
[apiInstance actionpackgetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the action pack to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionpackget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionpackgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the action pack to get. (default to null)

            try
            {
                // View details of an action item pack
                apiInstance.actionpackget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionpackget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action pack to get.

try {
    $api_instance->actionpackget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionpackget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the action pack to get.

eval { 
    $api_instance->actionpackget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionpackget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the action pack to get. (default to null)

try: 
    # View details of an action item pack
    api_instance.actionpackget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->actionpackget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.actionpackget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the action pack to get.
Required

Responses


actionpacklist

View a list of action item packs

Allows the user to view the full list of action item packs.


/actionpacklist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actionpacklist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.actionpacklist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionpacklist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.actionpacklist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionpacklist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of action item packs
[apiInstance actionpacklistWith:token
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionpacklist(token, from, count, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionpacklistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)

            try
            {
                // View a list of action item packs
                apiInstance.actionpacklist(token, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionpacklist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->actionpacklist($token, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionpacklist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->actionpacklist(token => $token, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionpacklist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)

try: 
    # View a list of action item packs
    api_instance.actionpacklist(token, from, count)
except ApiException as e:
    print("Exception when calling DefaultApi->actionpacklist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.actionpacklist(token, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


actionpacksave

Create or edit an action item pack

Allows the user to edit an action item pack.


/actionpacksave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/actionpacksave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.actionpacksave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionpacksave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.actionpacksave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actionpacksave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit an action item pack
[apiInstance actionpacksaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actionpacksave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actionpacksaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit an action item pack
                apiInstance.actionpacksave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actionpacksave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->actionpacksave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actionpacksave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->actionpacksave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->actionpacksave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit an action item pack
    api_instance.actionpacksave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->actionpacksave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.actionpacksave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


actiontypedelete

Delete an action item type

Allows the user to delete an action item type.


/actiontypedelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actiontypedelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action type to delete.
        try {
            apiInstance.actiontypedelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actiontypedelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action type to delete.
        try {
            apiInstance.actiontypedelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actiontypedelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the action type to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete an action item type
[apiInstance actiontypedeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the action type to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actiontypedelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actiontypedeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the action type to delete. (default to null)

            try
            {
                // Delete an action item type
                apiInstance.actiontypedelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actiontypedelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action type to delete.

try {
    $api_instance->actiontypedelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actiontypedelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the action type to delete.

eval { 
    $api_instance->actiontypedelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->actiontypedelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the action type to delete. (default to null)

try: 
    # Delete an action item type
    api_instance.actiontypedelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->actiontypedelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.actiontypedelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the action type to delete.
Required

Responses


actiontypeget

View details of an action item type

Allows the user to view an individual action item type and its details.


/actiontypeget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actiontypeget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action type to get.
        try {
            apiInstance.actiontypeget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actiontypeget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action type to get.
        try {
            apiInstance.actiontypeget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actiontypeget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the action type to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of an action item type
[apiInstance actiontypegetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the action type to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actiontypeget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actiontypegetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the action type to get. (default to null)

            try
            {
                // View details of an action item type
                apiInstance.actiontypeget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actiontypeget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the action type to get.

try {
    $api_instance->actiontypeget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actiontypeget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the action type to get.

eval { 
    $api_instance->actiontypeget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->actiontypeget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the action type to get. (default to null)

try: 
    # View details of an action item type
    api_instance.actiontypeget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->actiontypeget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.actiontypeget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the action type to get.
Required

Responses


actiontypelist

View a list of action item types

Allows the user to view the full list of action item types.


/actiontypelist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/actiontypelist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.actiontypelist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actiontypelist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.actiontypelist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actiontypelist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of action item types
[apiInstance actiontypelistWith:token
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actiontypelist(token, from, count, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actiontypelistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)

            try
            {
                // View a list of action item types
                apiInstance.actiontypelist(token, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actiontypelist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->actiontypelist($token, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actiontypelist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->actiontypelist(token => $token, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->actiontypelist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)

try: 
    # View a list of action item types
    api_instance.actiontypelist(token, from, count)
except ApiException as e:
    print("Exception when calling DefaultApi->actiontypelist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.actiontypelist(token, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


actiontypesave

Create or edit an action item type

Allows the user to dit an action item type.


/actiontypesave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/actiontypesave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.actiontypesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actiontypesave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.actiontypesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#actiontypesave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit an action item type
[apiInstance actiontypesaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.actiontypesave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class actiontypesaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit an action item type
                apiInstance.actiontypesave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.actiontypesave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->actiontypesave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->actiontypesave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->actiontypesave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->actiontypesave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit an action item type
    api_instance.actiontypesave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->actiontypesave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.actiontypesave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


adhocquerycheckexecution

Check the status of an ad hoc query execution

Allows the user to check whether a query has executed, viewable on the query's execution page.


/adhocquerycheckexecution

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/adhocquerycheckexecution?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the ad hoc query execution to be checked.
        try {
            apiInstance.adhocquerycheckexecution(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocquerycheckexecution");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the ad hoc query execution to be checked.
        try {
            apiInstance.adhocquerycheckexecution(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocquerycheckexecution");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the ad hoc query execution to be checked. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Check the status of an ad hoc query execution
[apiInstance adhocquerycheckexecutionWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the ad hoc query execution to be checked.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.adhocquerycheckexecution(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class adhocquerycheckexecutionExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the ad hoc query execution to be checked. (default to null)

            try
            {
                // Check the status of an ad hoc query execution
                apiInstance.adhocquerycheckexecution(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.adhocquerycheckexecution: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the ad hoc query execution to be checked.

try {
    $api_instance->adhocquerycheckexecution($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adhocquerycheckexecution: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the ad hoc query execution to be checked.

eval { 
    $api_instance->adhocquerycheckexecution(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->adhocquerycheckexecution: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the ad hoc query execution to be checked. (default to null)

try: 
    # Check the status of an ad hoc query execution
    api_instance.adhocquerycheckexecution(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->adhocquerycheckexecution: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.adhocquerycheckexecution(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the ad hoc query execution to be checked.
Required

Responses


adhocquerydelete

Delete an ad hoc query

Allows the user to delete a previously created ad hoc query.


/adhocquerydelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/adhocquerydelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the ad hoc query to delete.
        try {
            apiInstance.adhocquerydelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocquerydelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the ad hoc query to delete.
        try {
            apiInstance.adhocquerydelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocquerydelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the ad hoc query to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete an ad hoc query
[apiInstance adhocquerydeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the ad hoc query to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.adhocquerydelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class adhocquerydeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the ad hoc query to delete. (default to null)

            try
            {
                // Delete an ad hoc query
                apiInstance.adhocquerydelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.adhocquerydelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the ad hoc query to delete.

try {
    $api_instance->adhocquerydelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adhocquerydelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the ad hoc query to delete.

eval { 
    $api_instance->adhocquerydelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->adhocquerydelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the ad hoc query to delete. (default to null)

try: 
    # Delete an ad hoc query
    api_instance.adhocquerydelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->adhocquerydelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.adhocquerydelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the ad hoc query to delete.
Required

Responses


adhocqueryexecute

Execute an ad hoc query

Allows the user to execute an ad hoc query.


/adhocqueryexecute

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/adhocqueryexecute?token=&id=&query="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the query to execute.
        String query = query_example; // String | The query to execute.
        try {
            apiInstance.adhocqueryexecute(token, id, query);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocqueryexecute");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the query to execute.
        String query = query_example; // String | The query to execute.
        try {
            apiInstance.adhocqueryexecute(token, id, query);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocqueryexecute");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the query to execute. (optional) (default to null)
String *query = query_example; // The query to execute. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Execute an ad hoc query
[apiInstance adhocqueryexecuteWith:token
    id:id
    query:query
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'id': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the query to execute.
  'query': query_example // {String} The query to execute.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.adhocqueryexecute(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class adhocqueryexecuteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the query to execute. (optional)  (default to null)
            var query = query_example;  // String | The query to execute. (optional)  (default to null)

            try
            {
                // Execute an ad hoc query
                apiInstance.adhocqueryexecute(token, id, query);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.adhocqueryexecute: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the query to execute.
$query = query_example; // String | The query to execute.

try {
    $api_instance->adhocqueryexecute($token, $id, $query);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adhocqueryexecute: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the query to execute.
my $query = query_example; # String | The query to execute.

eval { 
    $api_instance->adhocqueryexecute(token => $token, id => $id, query => $query);
};
if ($@) {
    warn "Exception when calling DefaultApi->adhocqueryexecute: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the query to execute. (optional) (default to null)
query = query_example # String | The query to execute. (optional) (default to null)

try: 
    # Execute an ad hoc query
    api_instance.adhocqueryexecute(token, id=id, query=query)
except ApiException as e:
    print("Exception when calling DefaultApi->adhocqueryexecute: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let query = query_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.adhocqueryexecute(token, id, query, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id
UUID (uuid)
The id of the query to execute.
query
String
The query to execute.

Responses


adhocqueryget

View details of an ad hoc query

Allows the user to view an individual ad hoc query with its settings.


/adhocqueryget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/adhocqueryget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the query to get.
        try {
            apiInstance.adhocqueryget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocqueryget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the query to get.
        try {
            apiInstance.adhocqueryget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocqueryget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the query to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of an ad hoc query
[apiInstance adhocquerygetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the query to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.adhocqueryget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class adhocquerygetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the query to get. (default to null)

            try
            {
                // View details of an ad hoc query
                apiInstance.adhocqueryget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.adhocqueryget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the query to get.

try {
    $api_instance->adhocqueryget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adhocqueryget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the query to get.

eval { 
    $api_instance->adhocqueryget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->adhocqueryget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the query to get. (default to null)

try: 
    # View details of an ad hoc query
    api_instance.adhocqueryget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->adhocqueryget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.adhocqueryget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the query to get.
Required

Responses


adhocquerygetschema

View the database schema for making ad hoc queries

Allows the user to view the list of schema for ad hoc queries.


/adhocquerygetschema

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/adhocquerygetschema?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.adhocquerygetschema(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocquerygetschema");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.adhocquerygetschema(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocquerygetschema");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View the database schema for making ad hoc queries
[apiInstance adhocquerygetschemaWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.adhocquerygetschema(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class adhocquerygetschemaExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View the database schema for making ad hoc queries
                apiInstance.adhocquerygetschema(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.adhocquerygetschema: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->adhocquerygetschema($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adhocquerygetschema: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->adhocquerygetschema(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->adhocquerygetschema: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View the database schema for making ad hoc queries
    api_instance.adhocquerygetschema(token)
except ApiException as e:
    print("Exception when calling DefaultApi->adhocquerygetschema: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.adhocquerygetschema(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


adhocquerylist

View a list of saved ad hoc queries

Allows the user to view the full list of saved queries.


/adhocquerylist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/adhocquerylist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.adhocquerylist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocquerylist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.adhocquerylist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocquerylist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of saved ad hoc queries
[apiInstance adhocquerylistWith:token
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.adhocquerylist(token, from, count, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class adhocquerylistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)

            try
            {
                // View a list of saved ad hoc queries
                apiInstance.adhocquerylist(token, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.adhocquerylist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->adhocquerylist($token, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adhocquerylist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->adhocquerylist(token => $token, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->adhocquerylist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)

try: 
    # View a list of saved ad hoc queries
    api_instance.adhocquerylist(token, from, count)
except ApiException as e:
    print("Exception when calling DefaultApi->adhocquerylist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.adhocquerylist(token, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


adhocquerylistexecutions

View a list of ad hoc queries executions

Allows the user to view the full list of past query executions.


/adhocquerylistexecutions

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/adhocquerylistexecutions?token=&query=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        UUID query = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The first record to return.
        try {
            apiInstance.adhocquerylistexecutions(token, from, count, query);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocquerylistexecutions");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        UUID query = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The first record to return.
        try {
            apiInstance.adhocquerylistexecutions(token, from, count, query);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocquerylistexecutions");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
UUID *query = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The first record to return. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of ad hoc queries executions
[apiInstance adhocquerylistexecutionsWith:token
    from:from
    count:count
    query:query
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'query': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} The first record to return.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.adhocquerylistexecutions(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class adhocquerylistexecutionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var query = new UUID(); // UUID | The first record to return. (optional)  (default to null)

            try
            {
                // View a list of ad hoc queries executions
                apiInstance.adhocquerylistexecutions(token, from, count, query);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.adhocquerylistexecutions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$query = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The first record to return.

try {
    $api_instance->adhocquerylistexecutions($token, $from, $count, $query);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adhocquerylistexecutions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $query = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The first record to return.

eval { 
    $api_instance->adhocquerylistexecutions(token => $token, from => $from, count => $count, query => $query);
};
if ($@) {
    warn "Exception when calling DefaultApi->adhocquerylistexecutions: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
query = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The first record to return. (optional) (default to null)

try: 
    # View a list of ad hoc queries executions
    api_instance.adhocquerylistexecutions(token, from, count, query=query)
except ApiException as e:
    print("Exception when calling DefaultApi->adhocquerylistexecutions: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let query = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.adhocquerylistexecutions(token, from, count, query, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
query
UUID (uuid)
The first record to return.
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


adhocquerysave

Create or edit an ad hoc query

Allows the user to edit an ad hoc query.


/adhocquerysave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/adhocquerysave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.adhocquerysave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocquerysave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.adhocquerysave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocquerysave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit an ad hoc query
[apiInstance adhocquerysaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.adhocquerysave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class adhocquerysaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit an ad hoc query
                apiInstance.adhocquerysave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.adhocquerysave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->adhocquerysave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adhocquerysave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->adhocquerysave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->adhocquerysave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit an ad hoc query
    api_instance.adhocquerysave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->adhocquerysave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.adhocquerysave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


adhocquerystopexecution

Stops the execution of an ad hoc query

Allows the user to halt the execution of a query that is currently being executed.


/adhocquerystopexecution

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/adhocquerystopexecution?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the ad hoc query execution to be stopped.
        try {
            apiInstance.adhocquerystopexecution(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocquerystopexecution");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the ad hoc query execution to be stopped.
        try {
            apiInstance.adhocquerystopexecution(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocquerystopexecution");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the ad hoc query execution to be stopped. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Stops the execution of an ad hoc query
[apiInstance adhocquerystopexecutionWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the ad hoc query execution to be stopped.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.adhocquerystopexecution(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class adhocquerystopexecutionExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the ad hoc query execution to be stopped. (default to null)

            try
            {
                // Stops the execution of an ad hoc query
                apiInstance.adhocquerystopexecution(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.adhocquerystopexecution: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the ad hoc query execution to be stopped.

try {
    $api_instance->adhocquerystopexecution($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adhocquerystopexecution: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the ad hoc query execution to be stopped.

eval { 
    $api_instance->adhocquerystopexecution(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->adhocquerystopexecution: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the ad hoc query execution to be stopped. (default to null)

try: 
    # Stops the execution of an ad hoc query
    api_instance.adhocquerystopexecution(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->adhocquerystopexecution: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.adhocquerystopexecution(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the ad hoc query execution to be stopped.
Required

Responses


adhocreportsreqaccess

Request access to the ad-hoc reports

Allows the user to request access to the ad-hoc reports by clicking, 'Request Access' under Institutional Research -> Ad-hoc Reports


/adhocreportsreqaccess

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/adhocreportsreqaccess?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.adhocreportsreqaccess(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocreportsreqaccess");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.adhocreportsreqaccess(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#adhocreportsreqaccess");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Request access to the ad-hoc reports
[apiInstance adhocreportsreqaccessWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.adhocreportsreqaccess(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class adhocreportsreqaccessExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Request access to the ad-hoc reports
                apiInstance.adhocreportsreqaccess(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.adhocreportsreqaccess: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->adhocreportsreqaccess($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->adhocreportsreqaccess: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->adhocreportsreqaccess(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->adhocreportsreqaccess: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Request access to the ad-hoc reports
    api_instance.adhocreportsreqaccess(token)
except ApiException as e:
    print("Exception when calling DefaultApi->adhocreportsreqaccess: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.adhocreportsreqaccess(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


advancedstationcheckunknownuser

Check whether the user is known by the system.


/advancedstationcheckunknownuser

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advancedstationcheckunknownuser?station=&user=&location="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        String user = user_example; // String | The card of the user.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.
        try {
            apiInstance.advancedstationcheckunknownuser(station, user, location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationcheckunknownuser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        String user = user_example; // String | The card of the user.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.
        try {
            apiInstance.advancedstationcheckunknownuser(station, user, location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationcheckunknownuser");
            e.printStackTrace();
        }
    }
}
UUID *station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station to get. (default to null)
String *user = user_example; // The card of the user. (default to null)
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location the user picked. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Check whether the user is known by the system.
[apiInstance advancedstationcheckunknownuserWith:station
    user:user
    location:location
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station to get.
var user = user_example; // {String} The card of the user.
var location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location the user picked.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advancedstationcheckunknownuser(station, user, location, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advancedstationcheckunknownuserExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var station = new UUID(); // UUID | The id of the sign-in station to get. (default to null)
            var user = user_example;  // String | The card of the user. (default to null)
            var location = new UUID(); // UUID | The id of the location the user picked. (default to null)

            try
            {
                // Check whether the user is known by the system.
                apiInstance.advancedstationcheckunknownuser(station, user, location);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advancedstationcheckunknownuser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
$user = user_example; // String | The card of the user.
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.

try {
    $api_instance->advancedstationcheckunknownuser($station, $user, $location);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advancedstationcheckunknownuser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station to get.
my $user = user_example; # String | The card of the user.
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location the user picked.

eval { 
    $api_instance->advancedstationcheckunknownuser(station => $station, user => $user, location => $location);
};
if ($@) {
    warn "Exception when calling DefaultApi->advancedstationcheckunknownuser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
station = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station to get. (default to null)
user = user_example # String | The card of the user. (default to null)
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location the user picked. (default to null)

try: 
    # Check whether the user is known by the system.
    api_instance.advancedstationcheckunknownuser(station, user, location)
except ApiException as e:
    print("Exception when calling DefaultApi->advancedstationcheckunknownuser: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let user = user_example; // String
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.advancedstationcheckunknownuser(station, user, location, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
station*
UUID (uuid)
The id of the sign-in station to get.
Required
user*
String
The card of the user.
Required
location*
UUID (uuid)
The id of the location the user picked.
Required

Responses


advancedstationcheckuserrole

Check whether the user is a staff member, an attendee or both.


/advancedstationcheckuserrole

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advancedstationcheckuserrole?station=&user=&location="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        String user = user_example; // String | The card of the user.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.
        try {
            apiInstance.advancedstationcheckuserrole(station, user, location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationcheckuserrole");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        String user = user_example; // String | The card of the user.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.
        try {
            apiInstance.advancedstationcheckuserrole(station, user, location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationcheckuserrole");
            e.printStackTrace();
        }
    }
}
UUID *station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station to get. (default to null)
String *user = user_example; // The card of the user. (default to null)
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location the user picked. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Check whether the user is a staff member, an attendee or both.
[apiInstance advancedstationcheckuserroleWith:station
    user:user
    location:location
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station to get.
var user = user_example; // {String} The card of the user.
var location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location the user picked.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advancedstationcheckuserrole(station, user, location, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advancedstationcheckuserroleExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var station = new UUID(); // UUID | The id of the sign-in station to get. (default to null)
            var user = user_example;  // String | The card of the user. (default to null)
            var location = new UUID(); // UUID | The id of the location the user picked. (default to null)

            try
            {
                // Check whether the user is a staff member, an attendee or both.
                apiInstance.advancedstationcheckuserrole(station, user, location);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advancedstationcheckuserrole: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
$user = user_example; // String | The card of the user.
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.

try {
    $api_instance->advancedstationcheckuserrole($station, $user, $location);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advancedstationcheckuserrole: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station to get.
my $user = user_example; # String | The card of the user.
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location the user picked.

eval { 
    $api_instance->advancedstationcheckuserrole(station => $station, user => $user, location => $location);
};
if ($@) {
    warn "Exception when calling DefaultApi->advancedstationcheckuserrole: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
station = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station to get. (default to null)
user = user_example # String | The card of the user. (default to null)
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location the user picked. (default to null)

try: 
    # Check whether the user is a staff member, an attendee or both.
    api_instance.advancedstationcheckuserrole(station, user, location)
except ApiException as e:
    print("Exception when calling DefaultApi->advancedstationcheckuserrole: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let user = user_example; // String
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.advancedstationcheckuserrole(station, user, location, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
station*
UUID (uuid)
The id of the sign-in station to get.
Required
user*
String
The card of the user.
Required
location*
UUID (uuid)
The id of the location the user picked.
Required

Responses


advancedstationcreateuser

Creates a user via a sign-in station.


/advancedstationcreateuser

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advancedstationcreateuser?station=&user=&location=&firstname=&middlename=&lastname=&email="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        String user = user_example; // String | The card of the user to create.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.
        String firstname = firstname_example; // String | The first name of the user to create.
        String lastname = lastname_example; // String | The last name of the user to create.
        String email = email_example; // String | The email of the user to create.
        String middlename = middlename_example; // String | The middle name of the user to create.
        try {
            apiInstance.advancedstationcreateuser(station, user, location, firstname, lastname, email, middlename);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationcreateuser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        String user = user_example; // String | The card of the user to create.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.
        String firstname = firstname_example; // String | The first name of the user to create.
        String lastname = lastname_example; // String | The last name of the user to create.
        String email = email_example; // String | The email of the user to create.
        String middlename = middlename_example; // String | The middle name of the user to create.
        try {
            apiInstance.advancedstationcreateuser(station, user, location, firstname, lastname, email, middlename);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationcreateuser");
            e.printStackTrace();
        }
    }
}
UUID *station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station to get. (default to null)
String *user = user_example; // The card of the user to create. (default to null)
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location the user picked. (default to null)
String *firstname = firstname_example; // The first name of the user to create. (default to null)
String *lastname = lastname_example; // The last name of the user to create. (default to null)
String *email = email_example; // The email of the user to create. (default to null)
String *middlename = middlename_example; // The middle name of the user to create. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Creates a user via a sign-in station.
[apiInstance advancedstationcreateuserWith:station
    user:user
    location:location
    firstname:firstname
    lastname:lastname
    email:email
    middlename:middlename
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station to get.
var user = user_example; // {String} The card of the user to create.
var location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location the user picked.
var firstname = firstname_example; // {String} The first name of the user to create.
var lastname = lastname_example; // {String} The last name of the user to create.
var email = email_example; // {String} The email of the user to create.
var opts = {
  'middlename': middlename_example // {String} The middle name of the user to create.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advancedstationcreateuser(station, user, location, firstname, lastname, email, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advancedstationcreateuserExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var station = new UUID(); // UUID | The id of the sign-in station to get. (default to null)
            var user = user_example;  // String | The card of the user to create. (default to null)
            var location = new UUID(); // UUID | The id of the location the user picked. (default to null)
            var firstname = firstname_example;  // String | The first name of the user to create. (default to null)
            var lastname = lastname_example;  // String | The last name of the user to create. (default to null)
            var email = email_example;  // String | The email of the user to create. (default to null)
            var middlename = middlename_example;  // String | The middle name of the user to create. (optional)  (default to null)

            try
            {
                // Creates a user via a sign-in station.
                apiInstance.advancedstationcreateuser(station, user, location, firstname, lastname, email, middlename);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advancedstationcreateuser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
$user = user_example; // String | The card of the user to create.
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.
$firstname = firstname_example; // String | The first name of the user to create.
$lastname = lastname_example; // String | The last name of the user to create.
$email = email_example; // String | The email of the user to create.
$middlename = middlename_example; // String | The middle name of the user to create.

try {
    $api_instance->advancedstationcreateuser($station, $user, $location, $firstname, $lastname, $email, $middlename);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advancedstationcreateuser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station to get.
my $user = user_example; # String | The card of the user to create.
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location the user picked.
my $firstname = firstname_example; # String | The first name of the user to create.
my $lastname = lastname_example; # String | The last name of the user to create.
my $email = email_example; # String | The email of the user to create.
my $middlename = middlename_example; # String | The middle name of the user to create.

eval { 
    $api_instance->advancedstationcreateuser(station => $station, user => $user, location => $location, firstname => $firstname, lastname => $lastname, email => $email, middlename => $middlename);
};
if ($@) {
    warn "Exception when calling DefaultApi->advancedstationcreateuser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
station = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station to get. (default to null)
user = user_example # String | The card of the user to create. (default to null)
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location the user picked. (default to null)
firstname = firstname_example # String | The first name of the user to create. (default to null)
lastname = lastname_example # String | The last name of the user to create. (default to null)
email = email_example # String | The email of the user to create. (default to null)
middlename = middlename_example # String | The middle name of the user to create. (optional) (default to null)

try: 
    # Creates a user via a sign-in station.
    api_instance.advancedstationcreateuser(station, user, location, firstname, lastname, email, middlename=middlename)
except ApiException as e:
    print("Exception when calling DefaultApi->advancedstationcreateuser: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let user = user_example; // String
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let firstname = firstname_example; // String
    let lastname = lastname_example; // String
    let email = email_example; // String
    let middlename = middlename_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.advancedstationcreateuser(station, user, location, firstname, lastname, email, middlename, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
station*
UUID (uuid)
The id of the sign-in station to get.
Required
user*
String
The card of the user to create.
Required
location*
UUID (uuid)
The id of the location the user picked.
Required
firstname*
String
The first name of the user to create.
Required
middlename
String
The middle name of the user to create.
lastname*
String
The last name of the user to create.
Required
email*
String
The email of the user to create.
Required

Responses


advancedstationgetevents

Gets the courses available for a specific location and a specific student.


/advancedstationgetevents

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advancedstationgetevents?station=&location=&user="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the student picked.
        String user = user_example; // String | The card of the user.
        try {
            apiInstance.advancedstationgetevents(station, location, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationgetevents");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the student picked.
        String user = user_example; // String | The card of the user.
        try {
            apiInstance.advancedstationgetevents(station, location, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationgetevents");
            e.printStackTrace();
        }
    }
}
UUID *station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station to get. (default to null)
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location the student picked. (default to null)
String *user = user_example; // The card of the user. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the courses available for a specific location and a specific student.
[apiInstance advancedstationgeteventsWith:station
    location:location
    user:user
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station to get.
var location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location the student picked.
var user = user_example; // {String} The card of the user.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advancedstationgetevents(station, location, user, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advancedstationgeteventsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var station = new UUID(); // UUID | The id of the sign-in station to get. (default to null)
            var location = new UUID(); // UUID | The id of the location the student picked. (default to null)
            var user = user_example;  // String | The card of the user. (default to null)

            try
            {
                // Gets the courses available for a specific location and a specific student.
                apiInstance.advancedstationgetevents(station, location, user);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advancedstationgetevents: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the student picked.
$user = user_example; // String | The card of the user.

try {
    $api_instance->advancedstationgetevents($station, $location, $user);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advancedstationgetevents: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station to get.
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location the student picked.
my $user = user_example; # String | The card of the user.

eval { 
    $api_instance->advancedstationgetevents(station => $station, location => $location, user => $user);
};
if ($@) {
    warn "Exception when calling DefaultApi->advancedstationgetevents: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
station = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station to get. (default to null)
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location the student picked. (default to null)
user = user_example # String | The card of the user. (default to null)

try: 
    # Gets the courses available for a specific location and a specific student.
    api_instance.advancedstationgetevents(station, location, user)
except ApiException as e:
    print("Exception when calling DefaultApi->advancedstationgetevents: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let user = user_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.advancedstationgetevents(station, location, user, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
station*
UUID (uuid)
The id of the sign-in station to get.
Required
location*
UUID (uuid)
The id of the location the student picked.
Required
user*
String
The card of the user.
Required

Responses


advancedstationgetinfo

Gets the info to display in the sign-in station by it's ID.


/advancedstationgetinfo

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advancedstationgetinfo?id=&event="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        UUID event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event (or session), to override the scheduled one.
        try {
            apiInstance.advancedstationgetinfo(id, event);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationgetinfo");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        UUID event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event (or session), to override the scheduled one.
        try {
            apiInstance.advancedstationgetinfo(id, event);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationgetinfo");
            e.printStackTrace();
        }
    }
}
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station to get. (default to null)
UUID *event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event (or session), to override the scheduled one. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the info to display in the sign-in station by it's ID.
[apiInstance advancedstationgetinfoWith:id
    event:event
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station to get.
var opts = {
  'event': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} The id of the event (or session), to override the scheduled one.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advancedstationgetinfo(id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advancedstationgetinfoExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var id = new UUID(); // UUID | The id of the sign-in station to get. (default to null)
            var event = new UUID(); // UUID | The id of the event (or session), to override the scheduled one. (optional)  (default to null)

            try
            {
                // Gets the info to display in the sign-in station by it's ID.
                apiInstance.advancedstationgetinfo(id, event);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advancedstationgetinfo: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
$event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event (or session), to override the scheduled one.

try {
    $api_instance->advancedstationgetinfo($id, $event);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advancedstationgetinfo: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station to get.
my $event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event (or session), to override the scheduled one.

eval { 
    $api_instance->advancedstationgetinfo(id => $id, event => $event);
};
if ($@) {
    warn "Exception when calling DefaultApi->advancedstationgetinfo: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station to get. (default to null)
event = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event (or session), to override the scheduled one. (optional) (default to null)

try: 
    # Gets the info to display in the sign-in station by it's ID.
    api_instance.advancedstationgetinfo(id, event=event)
except ApiException as e:
    print("Exception when calling DefaultApi->advancedstationgetinfo: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.advancedstationgetinfo(id, event, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
id*
UUID (uuid)
The id of the sign-in station to get.
Required
event
UUID (uuid)
The id of the event (or session), to override the scheduled one.

Responses


advancedstationgetlocations

Gets the locations available in a sign-in station.


/advancedstationgetlocations

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advancedstationgetlocations?station=&user="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station whose locations have to be returned.
        String user = user_example; // String | The card of the user.
        try {
            apiInstance.advancedstationgetlocations(station, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationgetlocations");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station whose locations have to be returned.
        String user = user_example; // String | The card of the user.
        try {
            apiInstance.advancedstationgetlocations(station, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationgetlocations");
            e.printStackTrace();
        }
    }
}
UUID *station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station whose locations have to be returned. (default to null)
String *user = user_example; // The card of the user. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the locations available in a sign-in station.
[apiInstance advancedstationgetlocationsWith:station
    user:user
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station whose locations have to be returned.
var user = user_example; // {String} The card of the user.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advancedstationgetlocations(station, user, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advancedstationgetlocationsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var station = new UUID(); // UUID | The id of the sign-in station whose locations have to be returned. (default to null)
            var user = user_example;  // String | The card of the user. (default to null)

            try
            {
                // Gets the locations available in a sign-in station.
                apiInstance.advancedstationgetlocations(station, user);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advancedstationgetlocations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station whose locations have to be returned.
$user = user_example; // String | The card of the user.

try {
    $api_instance->advancedstationgetlocations($station, $user);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advancedstationgetlocations: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station whose locations have to be returned.
my $user = user_example; # String | The card of the user.

eval { 
    $api_instance->advancedstationgetlocations(station => $station, user => $user);
};
if ($@) {
    warn "Exception when calling DefaultApi->advancedstationgetlocations: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
station = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station whose locations have to be returned. (default to null)
user = user_example # String | The card of the user. (default to null)

try: 
    # Gets the locations available in a sign-in station.
    api_instance.advancedstationgetlocations(station, user)
except ApiException as e:
    print("Exception when calling DefaultApi->advancedstationgetlocations: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let user = user_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.advancedstationgetlocations(station, user, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
station*
UUID (uuid)
The id of the sign-in station whose locations have to be returned.
Required
user*
String
The card of the user.
Required

Responses


advancedstationgetlogstaff

Gets the staff/tutors available filtered by the location, course and services of the given attendance log.


/advancedstationgetlogstaff

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advancedstationgetlogstaff?station=&attendancelog=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        UUID attendancelog = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to filter the staff members.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.advancedstationgetlogstaff(station, attendancelog, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationgetlogstaff");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        UUID attendancelog = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to filter the staff members.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.advancedstationgetlogstaff(station, attendancelog, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationgetlogstaff");
            e.printStackTrace();
        }
    }
}
UUID *station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station to get. (default to null)
UUID *attendancelog = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the attendance log to filter the staff members. (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the staff/tutors available filtered by the location, course and services of the given attendance log.
[apiInstance advancedstationgetlogstaffWith:station
    attendancelog:attendancelog
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station to get.
var attendancelog = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the attendance log to filter the staff members.
var opts = {
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advancedstationgetlogstaff(station, attendancelog, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advancedstationgetlogstaffExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var station = new UUID(); // UUID | The id of the sign-in station to get. (default to null)
            var attendancelog = new UUID(); // UUID | The id of the attendance log to filter the staff members. (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // Gets the staff/tutors available filtered by the location, course and services of the given attendance log.
                apiInstance.advancedstationgetlogstaff(station, attendancelog, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advancedstationgetlogstaff: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
$attendancelog = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to filter the staff members.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->advancedstationgetlogstaff($station, $attendancelog, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advancedstationgetlogstaff: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station to get.
my $attendancelog = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the attendance log to filter the staff members.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->advancedstationgetlogstaff(station => $station, attendancelog => $attendancelog, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->advancedstationgetlogstaff: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
station = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station to get. (default to null)
attendancelog = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the attendance log to filter the staff members. (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # Gets the staff/tutors available filtered by the location, course and services of the given attendance log.
    api_instance.advancedstationgetlogstaff(station, attendancelog, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->advancedstationgetlogstaff: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let attendancelog = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.advancedstationgetlogstaff(station, attendancelog, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
station*
UUID (uuid)
The id of the sign-in station to get.
Required
attendancelog*
UUID (uuid)
The id of the attendance log to filter the staff members.
Required
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


advancedstationgetroles

Gets the user roles of the user trying to sign-in.


/advancedstationgetroles

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advancedstationgetroles?station=&signinrole=&user=&location="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        String signinrole = signinrole_example; // String | Specifies how the user is signing-in.
        String user = user_example; // String | The card of the user.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.
        try {
            apiInstance.advancedstationgetroles(station, signinrole, user, location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationgetroles");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        String signinrole = signinrole_example; // String | Specifies how the user is signing-in.
        String user = user_example; // String | The card of the user.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.
        try {
            apiInstance.advancedstationgetroles(station, signinrole, user, location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationgetroles");
            e.printStackTrace();
        }
    }
}
UUID *station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station to get. (default to null)
String *signinrole = signinrole_example; // Specifies how the user is signing-in. (default to null)
String *user = user_example; // The card of the user. (default to null)
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location the user picked. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the user roles of the user trying to sign-in.
[apiInstance advancedstationgetrolesWith:station
    signinrole:signinrole
    user:user
    location:location
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station to get.
var signinrole = signinrole_example; // {String} Specifies how the user is signing-in.
var user = user_example; // {String} The card of the user.
var location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location the user picked.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advancedstationgetroles(station, signinrole, user, location, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advancedstationgetrolesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var station = new UUID(); // UUID | The id of the sign-in station to get. (default to null)
            var signinrole = signinrole_example;  // String | Specifies how the user is signing-in. (default to null)
            var user = user_example;  // String | The card of the user. (default to null)
            var location = new UUID(); // UUID | The id of the location the user picked. (default to null)

            try
            {
                // Gets the user roles of the user trying to sign-in.
                apiInstance.advancedstationgetroles(station, signinrole, user, location);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advancedstationgetroles: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
$signinrole = signinrole_example; // String | Specifies how the user is signing-in.
$user = user_example; // String | The card of the user.
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.

try {
    $api_instance->advancedstationgetroles($station, $signinrole, $user, $location);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advancedstationgetroles: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station to get.
my $signinrole = signinrole_example; # String | Specifies how the user is signing-in.
my $user = user_example; # String | The card of the user.
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location the user picked.

eval { 
    $api_instance->advancedstationgetroles(station => $station, signinrole => $signinrole, user => $user, location => $location);
};
if ($@) {
    warn "Exception when calling DefaultApi->advancedstationgetroles: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
station = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station to get. (default to null)
signinrole = signinrole_example # String | Specifies how the user is signing-in. (default to null)
user = user_example # String | The card of the user. (default to null)
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location the user picked. (default to null)

try: 
    # Gets the user roles of the user trying to sign-in.
    api_instance.advancedstationgetroles(station, signinrole, user, location)
except ApiException as e:
    print("Exception when calling DefaultApi->advancedstationgetroles: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let signinrole = signinrole_example; // String
    let user = user_example; // String
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.advancedstationgetroles(station, signinrole, user, location, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
station*
UUID (uuid)
The id of the sign-in station to get.
Required
signinrole*
String
Specifies how the user is signing-in.
Required
user*
String
The card of the user.
Required
location*
UUID (uuid)
The id of the location the user picked.
Required

Responses


advancedstationgetservices

Gets the services available for a specific location.


/advancedstationgetservices

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advancedstationgetservices?station=&location=&user="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the student picked.
        String user = user_example; // String | The card of the user.
        try {
            apiInstance.advancedstationgetservices(station, location, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationgetservices");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the student picked.
        String user = user_example; // String | The card of the user.
        try {
            apiInstance.advancedstationgetservices(station, location, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationgetservices");
            e.printStackTrace();
        }
    }
}
UUID *station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station to get. (default to null)
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location the student picked. (default to null)
String *user = user_example; // The card of the user. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the services available for a specific location.
[apiInstance advancedstationgetservicesWith:station
    location:location
    user:user
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station to get.
var location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location the student picked.
var user = user_example; // {String} The card of the user.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advancedstationgetservices(station, location, user, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advancedstationgetservicesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var station = new UUID(); // UUID | The id of the sign-in station to get. (default to null)
            var location = new UUID(); // UUID | The id of the location the student picked. (default to null)
            var user = user_example;  // String | The card of the user. (default to null)

            try
            {
                // Gets the services available for a specific location.
                apiInstance.advancedstationgetservices(station, location, user);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advancedstationgetservices: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the student picked.
$user = user_example; // String | The card of the user.

try {
    $api_instance->advancedstationgetservices($station, $location, $user);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advancedstationgetservices: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station to get.
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location the student picked.
my $user = user_example; # String | The card of the user.

eval { 
    $api_instance->advancedstationgetservices(station => $station, location => $location, user => $user);
};
if ($@) {
    warn "Exception when calling DefaultApi->advancedstationgetservices: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
station = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station to get. (default to null)
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location the student picked. (default to null)
user = user_example # String | The card of the user. (default to null)

try: 
    # Gets the services available for a specific location.
    api_instance.advancedstationgetservices(station, location, user)
except ApiException as e:
    print("Exception when calling DefaultApi->advancedstationgetservices: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let user = user_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.advancedstationgetservices(station, location, user, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
station*
UUID (uuid)
The id of the sign-in station to get.
Required
location*
UUID (uuid)
The id of the location the student picked.
Required
user*
String
The card of the user.
Required

Responses


advancedstationgetstaff

Gets the staff/tutors available for a specific location, course and service.


/advancedstationgetstaff

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advancedstationgetstaff?station=&locationid=&user=&services=&eventid=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the student picked.
        String user = user_example; // String | The card of the user.
        String services = services_example; // String | The list of services selected by the user, in JSON format.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the event selected.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.advancedstationgetstaff(station, locationid, user, services, eventid, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationgetstaff");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the student picked.
        String user = user_example; // String | The card of the user.
        String services = services_example; // String | The list of services selected by the user, in JSON format.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the event selected.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.advancedstationgetstaff(station, locationid, user, services, eventid, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationgetstaff");
            e.printStackTrace();
        }
    }
}
UUID *station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station to get. (default to null)
UUID *locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location the student picked. (default to null)
String *user = user_example; // The card of the user. (default to null)
String *services = services_example; // The list of services selected by the user, in JSON format. (optional) (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The ID of the event selected. (optional) (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the staff/tutors available for a specific location, course and service.
[apiInstance advancedstationgetstaffWith:station
    locationid:locationid
    user:user
    services:services
    eventid:eventid
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station to get.
var locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location the student picked.
var user = user_example; // {String} The card of the user.
var opts = {
  'services': services_example, // {String} The list of services selected by the user, in JSON format.
  'eventid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The ID of the event selected.
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advancedstationgetstaff(station, locationid, user, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advancedstationgetstaffExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var station = new UUID(); // UUID | The id of the sign-in station to get. (default to null)
            var locationid = new UUID(); // UUID | The id of the location the student picked. (default to null)
            var user = user_example;  // String | The card of the user. (default to null)
            var services = services_example;  // String | The list of services selected by the user, in JSON format. (optional)  (default to null)
            var eventid = new UUID(); // UUID | The ID of the event selected. (optional)  (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // Gets the staff/tutors available for a specific location, course and service.
                apiInstance.advancedstationgetstaff(station, locationid, user, services, eventid, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advancedstationgetstaff: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
$locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the student picked.
$user = user_example; // String | The card of the user.
$services = services_example; // String | The list of services selected by the user, in JSON format.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the event selected.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->advancedstationgetstaff($station, $locationid, $user, $services, $eventid, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advancedstationgetstaff: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station to get.
my $locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location the student picked.
my $user = user_example; # String | The card of the user.
my $services = services_example; # String | The list of services selected by the user, in JSON format.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The ID of the event selected.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->advancedstationgetstaff(station => $station, locationid => $locationid, user => $user, services => $services, eventid => $eventid, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->advancedstationgetstaff: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
station = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station to get. (default to null)
locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location the student picked. (default to null)
user = user_example # String | The card of the user. (default to null)
services = services_example # String | The list of services selected by the user, in JSON format. (optional) (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The ID of the event selected. (optional) (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # Gets the staff/tutors available for a specific location, course and service.
    api_instance.advancedstationgetstaff(station, locationid, user, services=services, eventid=eventid, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->advancedstationgetstaff: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let user = user_example; // String
    let services = services_example; // String
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.advancedstationgetstaff(station, locationid, user, services, eventid, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
station*
UUID (uuid)
The id of the sign-in station to get.
Required
locationid*
UUID (uuid)
The id of the location the student picked.
Required
user*
String
The card of the user.
Required
services
String
The list of services selected by the user, in JSON format.
eventid
UUID (uuid)
The ID of the event selected.
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


advancedstationissignedin

Gets whether a user is signed-in or not.


/advancedstationissignedin

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advancedstationissignedin?station=&time=&user=&location="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        Date time = 2013-10-20T19:20:30+01:00; // Date | The date and time of the swipe.
        String user = user_example; // String | The card of the user.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.
        try {
            apiInstance.advancedstationissignedin(station, time, user, location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationissignedin");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        Date time = 2013-10-20T19:20:30+01:00; // Date | The date and time of the swipe.
        String user = user_example; // String | The card of the user.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.
        try {
            apiInstance.advancedstationissignedin(station, time, user, location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advancedstationissignedin");
            e.printStackTrace();
        }
    }
}
UUID *station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station to get. (default to null)
Date *time = 2013-10-20T19:20:30+01:00; // The date and time of the swipe. (default to null)
String *user = user_example; // The card of the user. (default to null)
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location the user picked. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets whether a user is signed-in or not.
[apiInstance advancedstationissignedinWith:station
    time:time
    user:user
    location:location
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station to get.
var time = 2013-10-20T19:20:30+01:00; // {Date} The date and time of the swipe.
var user = user_example; // {String} The card of the user.
var opts = {
  'location': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} The id of the location the user picked.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advancedstationissignedin(station, time, user, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advancedstationissignedinExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var station = new UUID(); // UUID | The id of the sign-in station to get. (default to null)
            var time = 2013-10-20T19:20:30+01:00;  // Date | The date and time of the swipe. (default to null)
            var user = user_example;  // String | The card of the user. (default to null)
            var location = new UUID(); // UUID | The id of the location the user picked. (optional)  (default to null)

            try
            {
                // Gets whether a user is signed-in or not.
                apiInstance.advancedstationissignedin(station, time, user, location);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advancedstationissignedin: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
$time = 2013-10-20T19:20:30+01:00; // Date | The date and time of the swipe.
$user = user_example; // String | The card of the user.
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.

try {
    $api_instance->advancedstationissignedin($station, $time, $user, $location);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advancedstationissignedin: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station to get.
my $time = 2013-10-20T19:20:30+01:00; # Date | The date and time of the swipe.
my $user = user_example; # String | The card of the user.
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location the user picked.

eval { 
    $api_instance->advancedstationissignedin(station => $station, time => $time, user => $user, location => $location);
};
if ($@) {
    warn "Exception when calling DefaultApi->advancedstationissignedin: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
station = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station to get. (default to null)
time = 2013-10-20T19:20:30+01:00 # Date | The date and time of the swipe. (default to null)
user = user_example # String | The card of the user. (default to null)
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location the user picked. (optional) (default to null)

try: 
    # Gets whether a user is signed-in or not.
    api_instance.advancedstationissignedin(station, time, user, location=location)
except ApiException as e:
    print("Exception when calling DefaultApi->advancedstationissignedin: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let time = 2013-10-20T19:20:30+01:00; // Date
    let user = user_example; // String
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.advancedstationissignedin(station, time, user, location, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
station*
UUID (uuid)
The id of the sign-in station to get.
Required
time*
Date (date-time)
The date and time of the swipe.
Required
user*
String
The card of the user.
Required
location
UUID (uuid)
The id of the location the user picked.

Responses


advroleaddmissing

Adds the missing permissions to a role. Requires access to advrole.save


/advroleaddmissing

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advroleaddmissing?token=&roles=&permissions="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String roles = roles_example; // String | CSV list of the role ids to check
        String permissions = permissions_example; // String | CSV list of the permissions to check
        try {
            apiInstance.advroleaddmissing(token, roles, permissions);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advroleaddmissing");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String roles = roles_example; // String | CSV list of the role ids to check
        String permissions = permissions_example; // String | CSV list of the permissions to check
        try {
            apiInstance.advroleaddmissing(token, roles, permissions);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advroleaddmissing");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *roles = roles_example; // CSV list of the role ids to check (default to null)
String *permissions = permissions_example; // CSV list of the permissions to check (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Adds the missing permissions to a role. Requires access to advrole.save
[apiInstance advroleaddmissingWith:token
    roles:roles
    permissions:permissions
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var roles = roles_example; // {String} CSV list of the role ids to check
var permissions = permissions_example; // {String} CSV list of the permissions to check

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advroleaddmissing(token, roles, permissions, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advroleaddmissingExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var roles = roles_example;  // String | CSV list of the role ids to check (default to null)
            var permissions = permissions_example;  // String | CSV list of the permissions to check (default to null)

            try
            {
                // Adds the missing permissions to a role. Requires access to advrole.save
                apiInstance.advroleaddmissing(token, roles, permissions);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advroleaddmissing: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$roles = roles_example; // String | CSV list of the role ids to check
$permissions = permissions_example; // String | CSV list of the permissions to check

try {
    $api_instance->advroleaddmissing($token, $roles, $permissions);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advroleaddmissing: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $roles = roles_example; # String | CSV list of the role ids to check
my $permissions = permissions_example; # String | CSV list of the permissions to check

eval { 
    $api_instance->advroleaddmissing(token => $token, roles => $roles, permissions => $permissions);
};
if ($@) {
    warn "Exception when calling DefaultApi->advroleaddmissing: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
roles = roles_example # String | CSV list of the role ids to check (default to null)
permissions = permissions_example # String | CSV list of the permissions to check (default to null)

try: 
    # Adds the missing permissions to a role. Requires access to advrole.save
    api_instance.advroleaddmissing(token, roles, permissions)
except ApiException as e:
    print("Exception when calling DefaultApi->advroleaddmissing: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let roles = roles_example; // String
    let permissions = permissions_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.advroleaddmissing(token, roles, permissions, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
roles*
String
CSV list of the role ids to check
Required
permissions*
String
CSV list of the permissions to check
Required

Responses


advrolecheckperm

Checks the permissions are assigned for the given roles


/advrolecheckperm

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advrolecheckperm?token=&roles=&permissions="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String roles = roles_example; // String | CSV list of the role ids to check
        String permissions = permissions_example; // String | CSV list of the permissions to check
        try {
            apiInstance.advrolecheckperm(token, roles, permissions);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advrolecheckperm");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String roles = roles_example; // String | CSV list of the role ids to check
        String permissions = permissions_example; // String | CSV list of the permissions to check
        try {
            apiInstance.advrolecheckperm(token, roles, permissions);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advrolecheckperm");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *roles = roles_example; // CSV list of the role ids to check (default to null)
String *permissions = permissions_example; // CSV list of the permissions to check (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Checks the permissions are assigned for the given roles
[apiInstance advrolecheckpermWith:token
    roles:roles
    permissions:permissions
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var roles = roles_example; // {String} CSV list of the role ids to check
var permissions = permissions_example; // {String} CSV list of the permissions to check

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advrolecheckperm(token, roles, permissions, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advrolecheckpermExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var roles = roles_example;  // String | CSV list of the role ids to check (default to null)
            var permissions = permissions_example;  // String | CSV list of the permissions to check (default to null)

            try
            {
                // Checks the permissions are assigned for the given roles
                apiInstance.advrolecheckperm(token, roles, permissions);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advrolecheckperm: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$roles = roles_example; // String | CSV list of the role ids to check
$permissions = permissions_example; // String | CSV list of the permissions to check

try {
    $api_instance->advrolecheckperm($token, $roles, $permissions);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advrolecheckperm: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $roles = roles_example; # String | CSV list of the role ids to check
my $permissions = permissions_example; # String | CSV list of the permissions to check

eval { 
    $api_instance->advrolecheckperm(token => $token, roles => $roles, permissions => $permissions);
};
if ($@) {
    warn "Exception when calling DefaultApi->advrolecheckperm: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
roles = roles_example # String | CSV list of the role ids to check (default to null)
permissions = permissions_example # String | CSV list of the permissions to check (default to null)

try: 
    # Checks the permissions are assigned for the given roles
    api_instance.advrolecheckperm(token, roles, permissions)
except ApiException as e:
    print("Exception when calling DefaultApi->advrolecheckperm: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let roles = roles_example; // String
    let permissions = permissions_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.advrolecheckperm(token, roles, permissions, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
roles*
String
CSV list of the role ids to check
Required
permissions*
String
CSV list of the permissions to check
Required

Responses


advroledelete

Delete a role

Allows the user to delete a role from the list of available roles.


/advroledelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advroledelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to delete.
        try {
            apiInstance.advroledelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advroledelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to delete.
        try {
            apiInstance.advroledelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advroledelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a role
[apiInstance advroledeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advroledelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advroledeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the location to delete. (default to null)

            try
            {
                // Delete a role
                apiInstance.advroledelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advroledelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to delete.

try {
    $api_instance->advroledelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advroledelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location to delete.

eval { 
    $api_instance->advroledelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->advroledelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location to delete. (default to null)

try: 
    # Delete a role
    api_instance.advroledelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->advroledelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.advroledelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the location to delete.
Required

Responses


advroledeletemapping

Delete a role mapping

Allows the user to delete a role from its mapped categories on the 'Role Mapping' page.


/advroledeletemapping

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advroledeletemapping?token=&map=&roleid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String map = map_example; // String | The map name to save the role.
        UUID roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the role.
        try {
            apiInstance.advroledeletemapping(token, map, roleid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advroledeletemapping");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String map = map_example; // String | The map name to save the role.
        UUID roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the role.
        try {
            apiInstance.advroledeletemapping(token, map, roleid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advroledeletemapping");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *map = map_example; // The map name to save the role. (default to null)
UUID *roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the role. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a role mapping
[apiInstance advroledeletemappingWith:token
    map:map
    roleid:roleid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var map = map_example; // {String} The map name to save the role.
var roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the role.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advroledeletemapping(token, map, roleid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advroledeletemappingExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var map = map_example;  // String | The map name to save the role. (default to null)
            var roleid = new UUID(); // UUID | The id of the role. (default to null)

            try
            {
                // Delete a role mapping
                apiInstance.advroledeletemapping(token, map, roleid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advroledeletemapping: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$map = map_example; // String | The map name to save the role.
$roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the role.

try {
    $api_instance->advroledeletemapping($token, $map, $roleid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advroledeletemapping: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $map = map_example; # String | The map name to save the role.
my $roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the role.

eval { 
    $api_instance->advroledeletemapping(token => $token, map => $map, roleid => $roleid);
};
if ($@) {
    warn "Exception when calling DefaultApi->advroledeletemapping: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
map = map_example # String | The map name to save the role. (default to null)
roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the role. (default to null)

try: 
    # Delete a role mapping
    api_instance.advroledeletemapping(token, map, roleid)
except ApiException as e:
    print("Exception when calling DefaultApi->advroledeletemapping: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let map = map_example; // String
    let roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.advroledeletemapping(token, map, roleid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
map*
String
The map name to save the role.
Required
roleid*
UUID (uuid)
The id of the role.
Required

Responses


advroleget

View details of a role

Allows the user to view a role and its details.


/advroleget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advroleget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to get.
        try {
            apiInstance.advroleget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advroleget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to get.
        try {
            apiInstance.advroleget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advroleget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a role
[apiInstance advrolegetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advroleget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advrolegetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the location to get. (default to null)

            try
            {
                // View details of a role
                apiInstance.advroleget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advroleget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to get.

try {
    $api_instance->advroleget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advroleget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location to get.

eval { 
    $api_instance->advroleget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->advroleget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location to get. (default to null)

try: 
    # View details of a role
    api_instance.advroleget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->advroleget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.advroleget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the location to get.
Required

Responses


advrolelist

Lists the roles for the current account


/advrolelist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advrolelist?token=&includepolicies=&includeinternal=&name="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Boolean includepolicies = true; // Boolean | True to include the policies, defaults to false.
        Boolean includeinternal = true; // Boolean | True to include the internal roles too.
        String name = name_example; // String | Filter by name of the role.
        try {
            apiInstance.advrolelist(token, includepolicies, includeinternal, name);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advrolelist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Boolean includepolicies = true; // Boolean | True to include the policies, defaults to false.
        Boolean includeinternal = true; // Boolean | True to include the internal roles too.
        String name = name_example; // String | Filter by name of the role.
        try {
            apiInstance.advrolelist(token, includepolicies, includeinternal, name);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advrolelist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Boolean *includepolicies = true; // True to include the policies, defaults to false. (optional) (default to null)
Boolean *includeinternal = true; // True to include the internal roles too. (optional) (default to null)
String *name = name_example; // Filter by name of the role. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists the roles for the current account
[apiInstance advrolelistWith:token
    includepolicies:includepolicies
    includeinternal:includeinternal
    name:name
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'includepolicies': true, // {Boolean} True to include the policies, defaults to false.
  'includeinternal': true, // {Boolean} True to include the internal roles too.
  'name': name_example // {String} Filter by name of the role.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advrolelist(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advrolelistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var includepolicies = true;  // Boolean | True to include the policies, defaults to false. (optional)  (default to null)
            var includeinternal = true;  // Boolean | True to include the internal roles too. (optional)  (default to null)
            var name = name_example;  // String | Filter by name of the role. (optional)  (default to null)

            try
            {
                // Lists the roles for the current account
                apiInstance.advrolelist(token, includepolicies, includeinternal, name);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advrolelist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$includepolicies = true; // Boolean | True to include the policies, defaults to false.
$includeinternal = true; // Boolean | True to include the internal roles too.
$name = name_example; // String | Filter by name of the role.

try {
    $api_instance->advrolelist($token, $includepolicies, $includeinternal, $name);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advrolelist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $includepolicies = true; # Boolean | True to include the policies, defaults to false.
my $includeinternal = true; # Boolean | True to include the internal roles too.
my $name = name_example; # String | Filter by name of the role.

eval { 
    $api_instance->advrolelist(token => $token, includepolicies => $includepolicies, includeinternal => $includeinternal, name => $name);
};
if ($@) {
    warn "Exception when calling DefaultApi->advrolelist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
includepolicies = true # Boolean | True to include the policies, defaults to false. (optional) (default to null)
includeinternal = true # Boolean | True to include the internal roles too. (optional) (default to null)
name = name_example # String | Filter by name of the role. (optional) (default to null)

try: 
    # Lists the roles for the current account
    api_instance.advrolelist(token, includepolicies=includepolicies, includeinternal=includeinternal, name=name)
except ApiException as e:
    print("Exception when calling DefaultApi->advrolelist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let includepolicies = true; // Boolean
    let includeinternal = true; // Boolean
    let name = name_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.advrolelist(token, includepolicies, includeinternal, name, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
includepolicies
Boolean
True to include the policies, defaults to false.
includeinternal
Boolean
True to include the internal roles too.
name
String
Filter by name of the role.

Responses


advrolelistmaps

Lists the maps a roles is mapped to


/advrolelistmaps

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advrolelistmaps?token=&roleid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the role to list the maps.
        try {
            apiInstance.advrolelistmaps(token, roleid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advrolelistmaps");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the role to list the maps.
        try {
            apiInstance.advrolelistmaps(token, roleid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advrolelistmaps");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the role to list the maps. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists the maps a roles is mapped to
[apiInstance advrolelistmapsWith:token
    roleid:roleid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the role to list the maps.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advrolelistmaps(token, roleid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advrolelistmapsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var roleid = new UUID(); // UUID | The id of the role to list the maps. (default to null)

            try
            {
                // Lists the maps a roles is mapped to
                apiInstance.advrolelistmaps(token, roleid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advrolelistmaps: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the role to list the maps.

try {
    $api_instance->advrolelistmaps($token, $roleid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advrolelistmaps: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the role to list the maps.

eval { 
    $api_instance->advrolelistmaps(token => $token, roleid => $roleid);
};
if ($@) {
    warn "Exception when calling DefaultApi->advrolelistmaps: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the role to list the maps. (default to null)

try: 
    # Lists the maps a roles is mapped to
    api_instance.advrolelistmaps(token, roleid)
except ApiException as e:
    print("Exception when calling DefaultApi->advrolelistmaps: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.advrolelistmaps(token, roleid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
roleid*
UUID (uuid)
The id of the role to list the maps.
Required

Responses


advrolelistrolesmapped

Lists the roles mappings


/advrolelistrolesmapped

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advrolelistrolesmapped?token=&map="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String map = map_example; // String | List only the roles in the specified map.
        try {
            apiInstance.advrolelistrolesmapped(token, map);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advrolelistrolesmapped");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String map = map_example; // String | List only the roles in the specified map.
        try {
            apiInstance.advrolelistrolesmapped(token, map);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advrolelistrolesmapped");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *map = map_example; // List only the roles in the specified map. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists the roles mappings
[apiInstance advrolelistrolesmappedWith:token
    map:map
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'map': map_example // {String} List only the roles in the specified map.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advrolelistrolesmapped(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advrolelistrolesmappedExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var map = map_example;  // String | List only the roles in the specified map. (optional)  (default to null)

            try
            {
                // Lists the roles mappings
                apiInstance.advrolelistrolesmapped(token, map);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advrolelistrolesmapped: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$map = map_example; // String | List only the roles in the specified map.

try {
    $api_instance->advrolelistrolesmapped($token, $map);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advrolelistrolesmapped: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $map = map_example; # String | List only the roles in the specified map.

eval { 
    $api_instance->advrolelistrolesmapped(token => $token, map => $map);
};
if ($@) {
    warn "Exception when calling DefaultApi->advrolelistrolesmapped: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
map = map_example # String | List only the roles in the specified map. (optional) (default to null)

try: 
    # Lists the roles mappings
    api_instance.advrolelistrolesmapped(token, map=map)
except ApiException as e:
    print("Exception when calling DefaultApi->advrolelistrolesmapped: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let map = map_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.advrolelistrolesmapped(token, map, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
map
String
List only the roles in the specified map.

Responses


advrolelisttemplates

View a list of role templates

Allows the user to view the full list of available role templates.


/advrolelisttemplates

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advrolelisttemplates?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.advrolelisttemplates(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advrolelisttemplates");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.advrolelisttemplates(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advrolelisttemplates");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of role templates
[apiInstance advrolelisttemplatesWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advrolelisttemplates(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advrolelisttemplatesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View a list of role templates
                apiInstance.advrolelisttemplates(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advrolelisttemplates: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->advrolelisttemplates($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advrolelisttemplates: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->advrolelisttemplates(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->advrolelisttemplates: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View a list of role templates
    api_instance.advrolelisttemplates(token)
except ApiException as e:
    print("Exception when calling DefaultApi->advrolelisttemplates: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.advrolelisttemplates(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


advrolesave

Create or edit a role

Allows the user to create or edit a role's permissions.


/advrolesave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/advrolesave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.advrolesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advrolesave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.advrolesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advrolesave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a role
[apiInstance advrolesaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advrolesave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advrolesaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a role
                apiInstance.advrolesave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advrolesave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->advrolesave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advrolesave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->advrolesave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->advrolesave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a role
    api_instance.advrolesave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->advrolesave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.advrolesave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


advrolesavemapping

Saves a role mapping

Allows the user to add a role to a mapped category on the 'Role Mapping' page.


/advrolesavemapping

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/advrolesavemapping"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.advrolesavemapping(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advrolesavemapping");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.advrolesavemapping(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advrolesavemapping");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Saves a role mapping
[apiInstance advrolesavemappingWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advrolesavemapping(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advrolesavemappingExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Saves a role mapping
                apiInstance.advrolesavemapping(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advrolesavemapping: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->advrolesavemapping($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advrolesavemapping: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->advrolesavemapping(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->advrolesavemapping: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Saves a role mapping
    api_instance.advrolesavemapping(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->advrolesavemapping: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.advrolesavemapping(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


advrolesuserlist

List users. Alias to user.list, use that one instead.


/advrolesuserlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advrolesuserlist?token=&from=&count=&roleid=&onlywithoutcard=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        UUID roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the role to filter users by, or empty to return all users.
        String onlywithoutcard = onlywithoutcard_example; // String | If is 1 then only the users without a card are returned, otherwise all users are returned.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.advrolesuserlist(token, from, count, roleid, onlywithoutcard, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advrolesuserlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        UUID roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the role to filter users by, or empty to return all users.
        String onlywithoutcard = onlywithoutcard_example; // String | If is 1 then only the users without a card are returned, otherwise all users are returned.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.advrolesuserlist(token, from, count, roleid, onlywithoutcard, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advrolesuserlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
UUID *roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the role to filter users by, or empty to return all users. (optional) (default to null)
String *onlywithoutcard = onlywithoutcard_example; // If is 1 then only the users without a card are returned, otherwise all users are returned. (optional) (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// List users. Alias to user.list, use that one instead.
[apiInstance advrolesuserlistWith:token
    from:from
    count:count
    roleid:roleid
    onlywithoutcard:onlywithoutcard
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'roleid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the role to filter users by, or empty to return all users.
  'onlywithoutcard': onlywithoutcard_example, // {String} If is 1 then only the users without a card are returned, otherwise all users are returned.
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advrolesuserlist(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advrolesuserlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var roleid = new UUID(); // UUID | The id of the role to filter users by, or empty to return all users. (optional)  (default to null)
            var onlywithoutcard = onlywithoutcard_example;  // String | If is 1 then only the users without a card are returned, otherwise all users are returned. (optional)  (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // List users. Alias to user.list, use that one instead.
                apiInstance.advrolesuserlist(token, from, count, roleid, onlywithoutcard, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advrolesuserlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the role to filter users by, or empty to return all users.
$onlywithoutcard = onlywithoutcard_example; // String | If is 1 then only the users without a card are returned, otherwise all users are returned.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->advrolesuserlist($token, $from, $count, $roleid, $onlywithoutcard, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advrolesuserlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the role to filter users by, or empty to return all users.
my $onlywithoutcard = onlywithoutcard_example; # String | If is 1 then only the users without a card are returned, otherwise all users are returned.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->advrolesuserlist(token => $token, from => $from, count => $count, roleid => $roleid, onlywithoutcard => $onlywithoutcard, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->advrolesuserlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the role to filter users by, or empty to return all users. (optional) (default to null)
onlywithoutcard = onlywithoutcard_example # String | If is 1 then only the users without a card are returned, otherwise all users are returned. (optional) (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # List users. Alias to user.list, use that one instead.
    api_instance.advrolesuserlist(token, from, count, roleid=roleid, onlywithoutcard=onlywithoutcard, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->advrolesuserlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let onlywithoutcard = onlywithoutcard_example; // String
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.advrolesuserlist(token, from, count, roleid, onlywithoutcard, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
roleid
UUID (uuid)
The id of the role to filter users by, or empty to return all users.
onlywithoutcard
String
If is 1 then only the users without a card are returned, otherwise all users are returned.
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


advroleuserupgrade

Upgrade a user to another role (requires permission to edit those roles)

Allow the user to add a role to another user, given that he has access to view that other user and edit people with that new role.


/advroleuserupgrade

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/advroleuserupgrade?token=&userid=&roleid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the user to upgrade
        UUID roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the role to add
        try {
            apiInstance.advroleuserupgrade(token, userid, roleid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advroleuserupgrade");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the user to upgrade
        UUID roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the role to add
        try {
            apiInstance.advroleuserupgrade(token, userid, roleid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#advroleuserupgrade");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Id of the user to upgrade (default to null)
UUID *roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Id of the role to add (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Upgrade a user to another role (requires permission to edit those roles)
[apiInstance advroleuserupgradeWith:token
    userid:userid
    roleid:roleid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} Id of the user to upgrade
var roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} Id of the role to add

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.advroleuserupgrade(token, userid, roleid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class advroleuserupgradeExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | Id of the user to upgrade (default to null)
            var roleid = new UUID(); // UUID | Id of the role to add (default to null)

            try
            {
                // Upgrade a user to another role (requires permission to edit those roles)
                apiInstance.advroleuserupgrade(token, userid, roleid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.advroleuserupgrade: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the user to upgrade
$roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the role to add

try {
    $api_instance->advroleuserupgrade($token, $userid, $roleid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->advroleuserupgrade: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Id of the user to upgrade
my $roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Id of the role to add

eval { 
    $api_instance->advroleuserupgrade(token => $token, userid => $userid, roleid => $roleid);
};
if ($@) {
    warn "Exception when calling DefaultApi->advroleuserupgrade: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Id of the user to upgrade (default to null)
roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Id of the role to add (default to null)

try: 
    # Upgrade a user to another role (requires permission to edit those roles)
    api_instance.advroleuserupgrade(token, userid, roleid)
except ApiException as e:
    print("Exception when calling DefaultApi->advroleuserupgrade: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.advroleuserupgrade(token, userid, roleid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
Id of the user to upgrade
Required
roleid*
UUID (uuid)
Id of the role to add
Required

Responses


appointmentcancel

Cancel an appointment

Allows the user to cancel an appointment.


/appointmentcancel

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentcancel?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to cancel.
        try {
            apiInstance.appointmentcancel(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentcancel");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to cancel.
        try {
            apiInstance.appointmentcancel(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentcancel");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the appointment to cancel. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Cancel an appointment
[apiInstance appointmentcancelWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the appointment to cancel.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentcancel(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentcancelExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the appointment to cancel. (default to null)

            try
            {
                // Cancel an appointment
                apiInstance.appointmentcancel(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentcancel: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to cancel.

try {
    $api_instance->appointmentcancel($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentcancel: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the appointment to cancel.

eval { 
    $api_instance->appointmentcancel(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentcancel: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the appointment to cancel. (default to null)

try: 
    # Cancel an appointment
    api_instance.appointmentcancel(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentcancel: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentcancel(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the appointment to cancel.
Required

Responses


appointmentcheckisvalid

Check if an appointment is valid or not


/appointmentcheckisvalid

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentcheckisvalid?token=&id=&editing="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to check.
        Boolean editing = true; // Boolean | Specifies whether the check is for a new appointment or an existing one.
        try {
            apiInstance.appointmentcheckisvalid(token, id, editing);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentcheckisvalid");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to check.
        Boolean editing = true; // Boolean | Specifies whether the check is for a new appointment or an existing one.
        try {
            apiInstance.appointmentcheckisvalid(token, id, editing);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentcheckisvalid");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the appointment to check. (default to null)
Boolean *editing = true; // Specifies whether the check is for a new appointment or an existing one. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Check if an appointment is valid or not
[apiInstance appointmentcheckisvalidWith:token
    id:id
    editing:editing
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the appointment to check.
var opts = {
  'editing': true // {Boolean} Specifies whether the check is for a new appointment or an existing one.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentcheckisvalid(token, id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentcheckisvalidExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the appointment to check. (default to null)
            var editing = true;  // Boolean | Specifies whether the check is for a new appointment or an existing one. (optional)  (default to null)

            try
            {
                // Check if an appointment is valid or not
                apiInstance.appointmentcheckisvalid(token, id, editing);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentcheckisvalid: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to check.
$editing = true; // Boolean | Specifies whether the check is for a new appointment or an existing one.

try {
    $api_instance->appointmentcheckisvalid($token, $id, $editing);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentcheckisvalid: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the appointment to check.
my $editing = true; # Boolean | Specifies whether the check is for a new appointment or an existing one.

eval { 
    $api_instance->appointmentcheckisvalid(token => $token, id => $id, editing => $editing);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentcheckisvalid: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the appointment to check. (default to null)
editing = true # Boolean | Specifies whether the check is for a new appointment or an existing one. (optional) (default to null)

try: 
    # Check if an appointment is valid or not
    api_instance.appointmentcheckisvalid(token, id, editing=editing)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentcheckisvalid: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let editing = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentcheckisvalid(token, id, editing, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the appointment to check.
Required
editing
Boolean
Specifies whether the check is for a new appointment or an existing one.

Responses


appointmenteditanyway

Edit an appointment even if it breaks activated rules

Allows the user to edit an existing appointment even if it breaks the rules or settings of that location.


/appointmenteditanyway

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmenteditanyway?token=&id=&term=&attendee=&staff=&location=&start=&end=&event=&services=¬es="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to edit.
        UUID attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendee involved in the appointment.
        UUID staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff member involved in the appointment.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location where the appointment will take place.
        Date start = 2013-10-20T19:20:30+01:00; // Date | The appointment's start date & time.
        Date end = 2013-10-20T19:20:30+01:00; // Date | The appointment's end date & time.
        UUID term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the term when the appointment takes place.
        UUID event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event of the appointment.
        String services = services_example; // String | Comma-separated string containing the ids of the services of the appointment.
        String notes = notes_example; // String | The notes of the appointment.
        try {
            apiInstance.appointmenteditanyway(token, id, attendee, staff, location, start, end, term, event, services, notes);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmenteditanyway");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to edit.
        UUID attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendee involved in the appointment.
        UUID staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff member involved in the appointment.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location where the appointment will take place.
        Date start = 2013-10-20T19:20:30+01:00; // Date | The appointment's start date & time.
        Date end = 2013-10-20T19:20:30+01:00; // Date | The appointment's end date & time.
        UUID term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the term when the appointment takes place.
        UUID event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event of the appointment.
        String services = services_example; // String | Comma-separated string containing the ids of the services of the appointment.
        String notes = notes_example; // String | The notes of the appointment.
        try {
            apiInstance.appointmenteditanyway(token, id, attendee, staff, location, start, end, term, event, services, notes);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmenteditanyway");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the appointment to edit. (default to null)
UUID *attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the attendee involved in the appointment. (default to null)
UUID *staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the staff member involved in the appointment. (default to null)
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location where the appointment will take place. (default to null)
Date *start = 2013-10-20T19:20:30+01:00; // The appointment's start date & time. (default to null)
Date *end = 2013-10-20T19:20:30+01:00; // The appointment's end date & time. (default to null)
UUID *term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the term when the appointment takes place. (optional) (default to null)
UUID *event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event of the appointment. (optional) (default to null)
String *services = services_example; // Comma-separated string containing the ids of the services of the appointment. (optional) (default to null)
String *notes = notes_example; // The notes of the appointment. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Edit an appointment even if it breaks activated rules
[apiInstance appointmenteditanywayWith:token
    id:id
    attendee:attendee
    staff:staff
    location:location
    start:start
    end:end
    term:term
    event:event
    services:services
    notes:notes
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the appointment to edit.
var attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the attendee involved in the appointment.
var staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the staff member involved in the appointment.
var location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location where the appointment will take place.
var start = 2013-10-20T19:20:30+01:00; // {Date} The appointment's start date & time.
var end = 2013-10-20T19:20:30+01:00; // {Date} The appointment's end date & time.
var opts = {
  'term': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the term when the appointment takes place.
  'event': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the event of the appointment.
  'services': services_example, // {String} Comma-separated string containing the ids of the services of the appointment.
  'notes': notes_example // {String} The notes of the appointment.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmenteditanyway(token, id, attendee, staff, location, start, end, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmenteditanywayExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the appointment to edit. (default to null)
            var attendee = new UUID(); // UUID | The id of the attendee involved in the appointment. (default to null)
            var staff = new UUID(); // UUID | The id of the staff member involved in the appointment. (default to null)
            var location = new UUID(); // UUID | The id of the location where the appointment will take place. (default to null)
            var start = 2013-10-20T19:20:30+01:00;  // Date | The appointment's start date & time. (default to null)
            var end = 2013-10-20T19:20:30+01:00;  // Date | The appointment's end date & time. (default to null)
            var term = new UUID(); // UUID | The id of the term when the appointment takes place. (optional)  (default to null)
            var event = new UUID(); // UUID | The id of the event of the appointment. (optional)  (default to null)
            var services = services_example;  // String | Comma-separated string containing the ids of the services of the appointment. (optional)  (default to null)
            var notes = notes_example;  // String | The notes of the appointment. (optional)  (default to null)

            try
            {
                // Edit an appointment even if it breaks activated rules
                apiInstance.appointmenteditanyway(token, id, attendee, staff, location, start, end, term, event, services, notes);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmenteditanyway: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to edit.
$attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendee involved in the appointment.
$staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff member involved in the appointment.
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location where the appointment will take place.
$start = 2013-10-20T19:20:30+01:00; // Date | The appointment's start date & time.
$end = 2013-10-20T19:20:30+01:00; // Date | The appointment's end date & time.
$term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the term when the appointment takes place.
$event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event of the appointment.
$services = services_example; // String | Comma-separated string containing the ids of the services of the appointment.
$notes = notes_example; // String | The notes of the appointment.

try {
    $api_instance->appointmenteditanyway($token, $id, $attendee, $staff, $location, $start, $end, $term, $event, $services, $notes);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmenteditanyway: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the appointment to edit.
my $attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the attendee involved in the appointment.
my $staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the staff member involved in the appointment.
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location where the appointment will take place.
my $start = 2013-10-20T19:20:30+01:00; # Date | The appointment's start date & time.
my $end = 2013-10-20T19:20:30+01:00; # Date | The appointment's end date & time.
my $term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the term when the appointment takes place.
my $event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event of the appointment.
my $services = services_example; # String | Comma-separated string containing the ids of the services of the appointment.
my $notes = notes_example; # String | The notes of the appointment.

eval { 
    $api_instance->appointmenteditanyway(token => $token, id => $id, attendee => $attendee, staff => $staff, location => $location, start => $start, end => $end, term => $term, event => $event, services => $services, notes => $notes);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmenteditanyway: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the appointment to edit. (default to null)
attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the attendee involved in the appointment. (default to null)
staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the staff member involved in the appointment. (default to null)
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location where the appointment will take place. (default to null)
start = 2013-10-20T19:20:30+01:00 # Date | The appointment's start date & time. (default to null)
end = 2013-10-20T19:20:30+01:00 # Date | The appointment's end date & time. (default to null)
term = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the term when the appointment takes place. (optional) (default to null)
event = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event of the appointment. (optional) (default to null)
services = services_example # String | Comma-separated string containing the ids of the services of the appointment. (optional) (default to null)
notes = notes_example # String | The notes of the appointment. (optional) (default to null)

try: 
    # Edit an appointment even if it breaks activated rules
    api_instance.appointmenteditanyway(token, id, attendee, staff, location, start, end, term=term, event=event, services=services, notes=notes)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmenteditanyway: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let start = 2013-10-20T19:20:30+01:00; // Date
    let end = 2013-10-20T19:20:30+01:00; // Date
    let term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let services = services_example; // String
    let notes = notes_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.appointmenteditanyway(token, id, attendee, staff, location, start, end, term, event, services, notes, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the appointment to edit.
Required
term
UUID (uuid)
The id of the term when the appointment takes place.
attendee*
UUID (uuid)
The id of the attendee involved in the appointment.
Required
staff*
UUID (uuid)
The id of the staff member involved in the appointment.
Required
location*
UUID (uuid)
The id of the location where the appointment will take place.
Required
start*
Date (date-time)
The appointment's start date & time.
Required
end*
Date (date-time)
The appointment's end date & time.
Required
event
UUID (uuid)
The id of the event of the appointment.
services
String
Comma-separated string containing the ids of the services of the appointment.
notes
String
The notes of the appointment.

Responses


appointmenteditpresence

Edit the no-show status of an appointment

Allows the user to edit the no-show status of an appointment by marking it as Voided, Restored, or as a Show.


/appointmenteditpresence

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmenteditpresence?token=&id=&showedup="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to edit its presence.
        Boolean showedup = true; // Boolean | Specifies whether the attendee was showed-up or not in the appointment.
        try {
            apiInstance.appointmenteditpresence(token, id, showedup);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmenteditpresence");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to edit its presence.
        Boolean showedup = true; // Boolean | Specifies whether the attendee was showed-up or not in the appointment.
        try {
            apiInstance.appointmenteditpresence(token, id, showedup);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmenteditpresence");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the appointment to edit its presence. (default to null)
Boolean *showedup = true; // Specifies whether the attendee was showed-up or not in the appointment. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Edit the no-show status of an appointment
[apiInstance appointmenteditpresenceWith:token
    id:id
    showedup:showedup
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the appointment to edit its presence.
var showedup = true; // {Boolean} Specifies whether the attendee was showed-up or not in the appointment.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmenteditpresence(token, id, showedup, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmenteditpresenceExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the appointment to edit its presence. (default to null)
            var showedup = true;  // Boolean | Specifies whether the attendee was showed-up or not in the appointment. (default to null)

            try
            {
                // Edit the no-show status of an appointment
                apiInstance.appointmenteditpresence(token, id, showedup);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmenteditpresence: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to edit its presence.
$showedup = true; // Boolean | Specifies whether the attendee was showed-up or not in the appointment.

try {
    $api_instance->appointmenteditpresence($token, $id, $showedup);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmenteditpresence: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the appointment to edit its presence.
my $showedup = true; # Boolean | Specifies whether the attendee was showed-up or not in the appointment.

eval { 
    $api_instance->appointmenteditpresence(token => $token, id => $id, showedup => $showedup);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmenteditpresence: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the appointment to edit its presence. (default to null)
showedup = true # Boolean | Specifies whether the attendee was showed-up or not in the appointment. (default to null)

try: 
    # Edit the no-show status of an appointment
    api_instance.appointmenteditpresence(token, id, showedup)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmenteditpresence: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let showedup = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.appointmenteditpresence(token, id, showedup, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the appointment to edit its presence.
Required
showedup*
Boolean
Specifies whether the attendee was showed-up or not in the appointment.
Required

Responses


appointmentfindallstaffslots

Finds all staff available slots filtered by service, date, etc

Allows the user to view available appointment slots when creating an appointment.


/appointmentfindallstaffslots

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentfindallstaffslots?token=&starttime=&endtime=&serviceids=&eventid=&locationid=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
        Date endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
        String serviceids = serviceids_example; // String | CSV list of the service Ids to filter by.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to filter by.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.appointmentfindallstaffslots(token, starttime, endtime, serviceids, locationid, eventid, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentfindallstaffslots");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
        Date endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
        String serviceids = serviceids_example; // String | CSV list of the service Ids to filter by.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to filter by.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.appointmentfindallstaffslots(token, starttime, endtime, serviceids, locationid, eventid, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentfindallstaffslots");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Date *starttime = 2013-10-20T19:20:30+01:00; // The start time of the range to look for slots. (default to null)
Date *endtime = 2013-10-20T19:20:30+01:00; // The end time of the range to look for slots. (default to null)
String *serviceids = serviceids_example; // CSV list of the service Ids to filter by. (default to null)
UUID *locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the service to filter by. (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event to filter by. (optional) (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Finds all staff available slots filtered by service, date, etc
[apiInstance appointmentfindallstaffslotsWith:token
    starttime:starttime
    endtime:endtime
    serviceids:serviceids
    locationid:locationid
    eventid:eventid
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var starttime = 2013-10-20T19:20:30+01:00; // {Date} The start time of the range to look for slots.
var endtime = 2013-10-20T19:20:30+01:00; // {Date} The end time of the range to look for slots.
var serviceids = serviceids_example; // {String} CSV list of the service Ids to filter by.
var locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the service to filter by.
var opts = {
  'eventid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the event to filter by.
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentfindallstaffslots(token, starttime, endtime, serviceids, locationid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentfindallstaffslotsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var starttime = 2013-10-20T19:20:30+01:00;  // Date | The start time of the range to look for slots. (default to null)
            var endtime = 2013-10-20T19:20:30+01:00;  // Date | The end time of the range to look for slots. (default to null)
            var serviceids = serviceids_example;  // String | CSV list of the service Ids to filter by. (default to null)
            var locationid = new UUID(); // UUID | The id of the service to filter by. (default to null)
            var eventid = new UUID(); // UUID | The id of the event to filter by. (optional)  (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // Finds all staff available slots filtered by service, date, etc
                apiInstance.appointmentfindallstaffslots(token, starttime, endtime, serviceids, locationid, eventid, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentfindallstaffslots: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
$endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
$serviceids = serviceids_example; // String | CSV list of the service Ids to filter by.
$locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to filter by.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->appointmentfindallstaffslots($token, $starttime, $endtime, $serviceids, $locationid, $eventid, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentfindallstaffslots: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $starttime = 2013-10-20T19:20:30+01:00; # Date | The start time of the range to look for slots.
my $endtime = 2013-10-20T19:20:30+01:00; # Date | The end time of the range to look for slots.
my $serviceids = serviceids_example; # String | CSV list of the service Ids to filter by.
my $locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the service to filter by.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event to filter by.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->appointmentfindallstaffslots(token => $token, starttime => $starttime, endtime => $endtime, serviceids => $serviceids, locationid => $locationid, eventid => $eventid, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentfindallstaffslots: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
starttime = 2013-10-20T19:20:30+01:00 # Date | The start time of the range to look for slots. (default to null)
endtime = 2013-10-20T19:20:30+01:00 # Date | The end time of the range to look for slots. (default to null)
serviceids = serviceids_example # String | CSV list of the service Ids to filter by. (default to null)
locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the service to filter by. (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event to filter by. (optional) (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # Finds all staff available slots filtered by service, date, etc
    api_instance.appointmentfindallstaffslots(token, starttime, endtime, serviceids, locationid, eventid=eventid, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentfindallstaffslots: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let starttime = 2013-10-20T19:20:30+01:00; // Date
    let endtime = 2013-10-20T19:20:30+01:00; // Date
    let serviceids = serviceids_example; // String
    let locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentfindallstaffslots(token, starttime, endtime, serviceids, locationid, eventid, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
starttime*
Date (date-time)
The start time of the range to look for slots.
Required
endtime*
Date (date-time)
The end time of the range to look for slots.
Required
serviceids*
String
CSV list of the service Ids to filter by.
Required
eventid
UUID (uuid)
The id of the event to filter by.
locationid*
UUID (uuid)
The id of the service to filter by.
Required
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


appointmentfindslots

Finds available slots filtered by service, date, staff, etc

Allows the user to view available appointment slots when creating an appointment.


/appointmentfindslots

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentfindslots?token=&staffid=&starttime=&endtime=&serviceids=&eventid=&locationid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff to filter by.
        Date starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
        Date endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
        String serviceids = serviceids_example; // String | CSV list of the service Ids to filter by.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to filter by.
        try {
            apiInstance.appointmentfindslots(token, staffid, starttime, endtime, serviceids, eventid, locationid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentfindslots");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff to filter by.
        Date starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
        Date endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
        String serviceids = serviceids_example; // String | CSV list of the service Ids to filter by.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to filter by.
        try {
            apiInstance.appointmentfindslots(token, staffid, starttime, endtime, serviceids, eventid, locationid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentfindslots");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the staff to filter by. (default to null)
Date *starttime = 2013-10-20T19:20:30+01:00; // The start time of the range to look for slots. (default to null)
Date *endtime = 2013-10-20T19:20:30+01:00; // The end time of the range to look for slots. (default to null)
String *serviceids = serviceids_example; // CSV list of the service Ids to filter by. (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event to filter by. (optional) (default to null)
UUID *locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the service to filter by. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Finds available slots filtered by service, date, staff, etc
[apiInstance appointmentfindslotsWith:token
    staffid:staffid
    starttime:starttime
    endtime:endtime
    serviceids:serviceids
    eventid:eventid
    locationid:locationid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the staff to filter by.
var starttime = 2013-10-20T19:20:30+01:00; // {Date} The start time of the range to look for slots.
var endtime = 2013-10-20T19:20:30+01:00; // {Date} The end time of the range to look for slots.
var serviceids = serviceids_example; // {String} CSV list of the service Ids to filter by.
var opts = {
  'eventid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the event to filter by.
  'locationid': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} The id of the service to filter by.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentfindslots(token, staffid, starttime, endtime, serviceids, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentfindslotsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var staffid = new UUID(); // UUID | The id of the staff to filter by. (default to null)
            var starttime = 2013-10-20T19:20:30+01:00;  // Date | The start time of the range to look for slots. (default to null)
            var endtime = 2013-10-20T19:20:30+01:00;  // Date | The end time of the range to look for slots. (default to null)
            var serviceids = serviceids_example;  // String | CSV list of the service Ids to filter by. (default to null)
            var eventid = new UUID(); // UUID | The id of the event to filter by. (optional)  (default to null)
            var locationid = new UUID(); // UUID | The id of the service to filter by. (optional)  (default to null)

            try
            {
                // Finds available slots filtered by service, date, staff, etc
                apiInstance.appointmentfindslots(token, staffid, starttime, endtime, serviceids, eventid, locationid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentfindslots: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff to filter by.
$starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
$endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
$serviceids = serviceids_example; // String | CSV list of the service Ids to filter by.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
$locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to filter by.

try {
    $api_instance->appointmentfindslots($token, $staffid, $starttime, $endtime, $serviceids, $eventid, $locationid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentfindslots: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the staff to filter by.
my $starttime = 2013-10-20T19:20:30+01:00; # Date | The start time of the range to look for slots.
my $endtime = 2013-10-20T19:20:30+01:00; # Date | The end time of the range to look for slots.
my $serviceids = serviceids_example; # String | CSV list of the service Ids to filter by.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event to filter by.
my $locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the service to filter by.

eval { 
    $api_instance->appointmentfindslots(token => $token, staffid => $staffid, starttime => $starttime, endtime => $endtime, serviceids => $serviceids, eventid => $eventid, locationid => $locationid);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentfindslots: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the staff to filter by. (default to null)
starttime = 2013-10-20T19:20:30+01:00 # Date | The start time of the range to look for slots. (default to null)
endtime = 2013-10-20T19:20:30+01:00 # Date | The end time of the range to look for slots. (default to null)
serviceids = serviceids_example # String | CSV list of the service Ids to filter by. (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event to filter by. (optional) (default to null)
locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the service to filter by. (optional) (default to null)

try: 
    # Finds available slots filtered by service, date, staff, etc
    api_instance.appointmentfindslots(token, staffid, starttime, endtime, serviceids, eventid=eventid, locationid=locationid)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentfindslots: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let starttime = 2013-10-20T19:20:30+01:00; // Date
    let endtime = 2013-10-20T19:20:30+01:00; // Date
    let serviceids = serviceids_example; // String
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentfindslots(token, staffid, starttime, endtime, serviceids, eventid, locationid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
staffid*
UUID (uuid)
The id of the staff to filter by.
Required
starttime*
Date (date-time)
The start time of the range to look for slots.
Required
endtime*
Date (date-time)
The end time of the range to look for slots.
Required
serviceids*
String
CSV list of the service Ids to filter by.
Required
eventid
UUID (uuid)
The id of the event to filter by.
locationid
UUID (uuid)
The id of the service to filter by.

Responses


appointmentfindstaff

Finds staff available by service, date, event, etc

Allows the user to view staff availability when creating an appointment.


/appointmentfindstaff

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentfindstaff?token=&serviceids=&eventid=&starttime=&endtime=&locationid=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String serviceids = serviceids_example; // String | CSV list of the service ids to filter by.
        Date starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
        Date endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to filter by.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.appointmentfindstaff(token, serviceids, starttime, endtime, eventid, locationid, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentfindstaff");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String serviceids = serviceids_example; // String | CSV list of the service ids to filter by.
        Date starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
        Date endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to filter by.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.appointmentfindstaff(token, serviceids, starttime, endtime, eventid, locationid, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentfindstaff");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *serviceids = serviceids_example; // CSV list of the service ids to filter by. (default to null)
Date *starttime = 2013-10-20T19:20:30+01:00; // The start time of the range to look for slots. (default to null)
Date *endtime = 2013-10-20T19:20:30+01:00; // The end time of the range to look for slots. (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event to filter by. (optional) (default to null)
UUID *locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the service to filter by. (optional) (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Finds staff available by service, date, event, etc
[apiInstance appointmentfindstaffWith:token
    serviceids:serviceids
    starttime:starttime
    endtime:endtime
    eventid:eventid
    locationid:locationid
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var serviceids = serviceids_example; // {String} CSV list of the service ids to filter by.
var starttime = 2013-10-20T19:20:30+01:00; // {Date} The start time of the range to look for slots.
var endtime = 2013-10-20T19:20:30+01:00; // {Date} The end time of the range to look for slots.
var opts = {
  'eventid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the event to filter by.
  'locationid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the service to filter by.
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentfindstaff(token, serviceids, starttime, endtime, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentfindstaffExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var serviceids = serviceids_example;  // String | CSV list of the service ids to filter by. (default to null)
            var starttime = 2013-10-20T19:20:30+01:00;  // Date | The start time of the range to look for slots. (default to null)
            var endtime = 2013-10-20T19:20:30+01:00;  // Date | The end time of the range to look for slots. (default to null)
            var eventid = new UUID(); // UUID | The id of the event to filter by. (optional)  (default to null)
            var locationid = new UUID(); // UUID | The id of the service to filter by. (optional)  (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // Finds staff available by service, date, event, etc
                apiInstance.appointmentfindstaff(token, serviceids, starttime, endtime, eventid, locationid, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentfindstaff: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$serviceids = serviceids_example; // String | CSV list of the service ids to filter by.
$starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
$endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
$locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to filter by.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->appointmentfindstaff($token, $serviceids, $starttime, $endtime, $eventid, $locationid, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentfindstaff: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $serviceids = serviceids_example; # String | CSV list of the service ids to filter by.
my $starttime = 2013-10-20T19:20:30+01:00; # Date | The start time of the range to look for slots.
my $endtime = 2013-10-20T19:20:30+01:00; # Date | The end time of the range to look for slots.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event to filter by.
my $locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the service to filter by.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->appointmentfindstaff(token => $token, serviceids => $serviceids, starttime => $starttime, endtime => $endtime, eventid => $eventid, locationid => $locationid, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentfindstaff: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
serviceids = serviceids_example # String | CSV list of the service ids to filter by. (default to null)
starttime = 2013-10-20T19:20:30+01:00 # Date | The start time of the range to look for slots. (default to null)
endtime = 2013-10-20T19:20:30+01:00 # Date | The end time of the range to look for slots. (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event to filter by. (optional) (default to null)
locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the service to filter by. (optional) (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # Finds staff available by service, date, event, etc
    api_instance.appointmentfindstaff(token, serviceids, starttime, endtime, eventid=eventid, locationid=locationid, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentfindstaff: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let serviceids = serviceids_example; // String
    let starttime = 2013-10-20T19:20:30+01:00; // Date
    let endtime = 2013-10-20T19:20:30+01:00; // Date
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentfindstaff(token, serviceids, starttime, endtime, eventid, locationid, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
serviceids*
String
CSV list of the service ids to filter by.
Required
eventid
UUID (uuid)
The id of the event to filter by.
starttime*
Date (date-time)
The start time of the range to look for slots.
Required
endtime*
Date (date-time)
The end time of the range to look for slots.
Required
locationid
UUID (uuid)
The id of the service to filter by.
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


appointmentget

Search and view details of an appointment

Allows the user to view an individual appointment and its details.


/appointmentget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to get.
        try {
            apiInstance.appointmentget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to get.
        try {
            apiInstance.appointmentget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the appointment to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of an appointment
[apiInstance appointmentgetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the appointment to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the appointment to get. (default to null)

            try
            {
                // Search and view details of an appointment
                apiInstance.appointmentget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to get.

try {
    $api_instance->appointmentget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the appointment to get.

eval { 
    $api_instance->appointmentget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the appointment to get. (default to null)

try: 
    # Search and view details of an appointment
    api_instance.appointmentget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the appointment to get.
Required

Responses


appointmentgetcurrent

Get the current appointments for the user that is about to sign-in via the specified sign-in station.


/appointmentgetcurrent

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentgetcurrent?station=&user=&location="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        String user = user_example; // String | The card of the user.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location where the user wants to sign-in.
        try {
            apiInstance.appointmentgetcurrent(station, user, location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentgetcurrent");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        String user = user_example; // String | The card of the user.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location where the user wants to sign-in.
        try {
            apiInstance.appointmentgetcurrent(station, user, location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentgetcurrent");
            e.printStackTrace();
        }
    }
}
UUID *station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station to get. (default to null)
String *user = user_example; // The card of the user. (default to null)
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location where the user wants to sign-in. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get the current appointments for the user that is about to sign-in via the specified sign-in station.
[apiInstance appointmentgetcurrentWith:station
    user:user
    location:location
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station to get.
var user = user_example; // {String} The card of the user.
var location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location where the user wants to sign-in.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentgetcurrent(station, user, location, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentgetcurrentExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var station = new UUID(); // UUID | The id of the sign-in station to get. (default to null)
            var user = user_example;  // String | The card of the user. (default to null)
            var location = new UUID(); // UUID | The id of the location where the user wants to sign-in. (default to null)

            try
            {
                // Get the current appointments for the user that is about to sign-in via the specified sign-in station.
                apiInstance.appointmentgetcurrent(station, user, location);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentgetcurrent: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
$user = user_example; // String | The card of the user.
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location where the user wants to sign-in.

try {
    $api_instance->appointmentgetcurrent($station, $user, $location);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentgetcurrent: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station to get.
my $user = user_example; # String | The card of the user.
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location where the user wants to sign-in.

eval { 
    $api_instance->appointmentgetcurrent(station => $station, user => $user, location => $location);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentgetcurrent: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
station = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station to get. (default to null)
user = user_example # String | The card of the user. (default to null)
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location where the user wants to sign-in. (default to null)

try: 
    # Get the current appointments for the user that is about to sign-in via the specified sign-in station.
    api_instance.appointmentgetcurrent(station, user, location)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentgetcurrent: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let user = user_example; // String
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentgetcurrent(station, user, location, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
station*
UUID (uuid)
The id of the sign-in station to get.
Required
user*
String
The card of the user.
Required
location*
UUID (uuid)
The id of the location where the user wants to sign-in.
Required

Responses


appointmentgetlocations

Find locations where a service is available

Allows the user to search for appointment availability by location or service.


/appointmentgetlocations

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentgetlocations?token=&serviceid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to get its locations.
        try {
            apiInstance.appointmentgetlocations(token, serviceid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentgetlocations");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to get its locations.
        try {
            apiInstance.appointmentgetlocations(token, serviceid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentgetlocations");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the service to get its locations. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Find locations where a service is available
[apiInstance appointmentgetlocationsWith:token
    serviceid:serviceid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the service to get its locations.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentgetlocations(token, serviceid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentgetlocationsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var serviceid = new UUID(); // UUID | The id of the service to get its locations. (default to null)

            try
            {
                // Find locations where a service is available
                apiInstance.appointmentgetlocations(token, serviceid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentgetlocations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to get its locations.

try {
    $api_instance->appointmentgetlocations($token, $serviceid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentgetlocations: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the service to get its locations.

eval { 
    $api_instance->appointmentgetlocations(token => $token, serviceid => $serviceid);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentgetlocations: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the service to get its locations. (default to null)

try: 
    # Find locations where a service is available
    api_instance.appointmentgetlocations(token, serviceid)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentgetlocations: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentgetlocations(token, serviceid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
serviceid*
UUID (uuid)
The id of the service to get its locations.
Required

Responses


appointmentlist

View a list of appointments

Allows the user to view all upcoming appointments for the location or locations they are scoped to.


/appointmentlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentlist?token=&from=&count=&startdate=&enddate=&userid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Date startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the appointments.
        Date enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the appointments.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The attendee id to filter the appointments.
        try {
            apiInstance.appointmentlist(token, from, count, startdate, enddate, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Date startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the appointments.
        Date enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the appointments.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The attendee id to filter the appointments.
        try {
            apiInstance.appointmentlist(token, from, count, startdate, enddate, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
Date *startdate = 2013-10-20T19:20:30+01:00; // The start date of the period to filter the appointments. (optional) (default to null)
Date *enddate = 2013-10-20T19:20:30+01:00; // The end date of the period to filter the appointments. (optional) (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The attendee id to filter the appointments. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of appointments
[apiInstance appointmentlistWith:token
    from:from
    count:count
    startdate:startdate
    enddate:enddate
    userid:userid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'startdate': 2013-10-20T19:20:30+01:00, // {Date} The start date of the period to filter the appointments.
  'enddate': 2013-10-20T19:20:30+01:00, // {Date} The end date of the period to filter the appointments.
  'userid': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} The attendee id to filter the appointments.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentlist(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var startdate = 2013-10-20T19:20:30+01:00;  // Date | The start date of the period to filter the appointments. (optional)  (default to null)
            var enddate = 2013-10-20T19:20:30+01:00;  // Date | The end date of the period to filter the appointments. (optional)  (default to null)
            var userid = new UUID(); // UUID | The attendee id to filter the appointments. (optional)  (default to null)

            try
            {
                // View a list of appointments
                apiInstance.appointmentlist(token, from, count, startdate, enddate, userid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the appointments.
$enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the appointments.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The attendee id to filter the appointments.

try {
    $api_instance->appointmentlist($token, $from, $count, $startdate, $enddate, $userid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $startdate = 2013-10-20T19:20:30+01:00; # Date | The start date of the period to filter the appointments.
my $enddate = 2013-10-20T19:20:30+01:00; # Date | The end date of the period to filter the appointments.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The attendee id to filter the appointments.

eval { 
    $api_instance->appointmentlist(token => $token, from => $from, count => $count, startdate => $startdate, enddate => $enddate, userid => $userid);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
startdate = 2013-10-20T19:20:30+01:00 # Date | The start date of the period to filter the appointments. (optional) (default to null)
enddate = 2013-10-20T19:20:30+01:00 # Date | The end date of the period to filter the appointments. (optional) (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The attendee id to filter the appointments. (optional) (default to null)

try: 
    # View a list of appointments
    api_instance.appointmentlist(token, from, count, startdate=startdate, enddate=enddate, userid=userid)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let startdate = 2013-10-20T19:20:30+01:00; // Date
    let enddate = 2013-10-20T19:20:30+01:00; // Date
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentlist(token, from, count, startdate, enddate, userid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
startdate
Date (date-time)
The start date of the period to filter the appointments.
enddate
Date (date-time)
The end date of the period to filter the appointments.
userid
UUID (uuid)
The attendee id to filter the appointments.

Responses


appointmentlistmine

View all my upcoming appointments


/appointmentlistmine

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentlistmine?token=&start=&modifiedafter="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date start = 2013-10-20T19:20:30+01:00; // Date | If specified, only appointments that start after the specified date will be returned.
        Date modifiedafter = 2013-10-20T19:20:30+01:00; // Date | If specified, only appointments modified after the specified date will be returned.
        try {
            apiInstance.appointmentlistmine(token, start, modifiedafter);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentlistmine");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date start = 2013-10-20T19:20:30+01:00; // Date | If specified, only appointments that start after the specified date will be returned.
        Date modifiedafter = 2013-10-20T19:20:30+01:00; // Date | If specified, only appointments modified after the specified date will be returned.
        try {
            apiInstance.appointmentlistmine(token, start, modifiedafter);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentlistmine");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Date *start = 2013-10-20T19:20:30+01:00; // If specified, only appointments that start after the specified date will be returned. (optional) (default to null)
Date *modifiedafter = 2013-10-20T19:20:30+01:00; // If specified, only appointments modified after the specified date will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View all my upcoming appointments
[apiInstance appointmentlistmineWith:token
    start:start
    modifiedafter:modifiedafter
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'start': 2013-10-20T19:20:30+01:00, // {Date} If specified, only appointments that start after the specified date will be returned.
  'modifiedafter': 2013-10-20T19:20:30+01:00 // {Date} If specified, only appointments modified after the specified date will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentlistmine(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentlistmineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var start = 2013-10-20T19:20:30+01:00;  // Date | If specified, only appointments that start after the specified date will be returned. (optional)  (default to null)
            var modifiedafter = 2013-10-20T19:20:30+01:00;  // Date | If specified, only appointments modified after the specified date will be returned. (optional)  (default to null)

            try
            {
                // View all my upcoming appointments
                apiInstance.appointmentlistmine(token, start, modifiedafter);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentlistmine: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$start = 2013-10-20T19:20:30+01:00; // Date | If specified, only appointments that start after the specified date will be returned.
$modifiedafter = 2013-10-20T19:20:30+01:00; // Date | If specified, only appointments modified after the specified date will be returned.

try {
    $api_instance->appointmentlistmine($token, $start, $modifiedafter);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentlistmine: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $start = 2013-10-20T19:20:30+01:00; # Date | If specified, only appointments that start after the specified date will be returned.
my $modifiedafter = 2013-10-20T19:20:30+01:00; # Date | If specified, only appointments modified after the specified date will be returned.

eval { 
    $api_instance->appointmentlistmine(token => $token, start => $start, modifiedafter => $modifiedafter);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentlistmine: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
start = 2013-10-20T19:20:30+01:00 # Date | If specified, only appointments that start after the specified date will be returned. (optional) (default to null)
modifiedafter = 2013-10-20T19:20:30+01:00 # Date | If specified, only appointments modified after the specified date will be returned. (optional) (default to null)

try: 
    # View all my upcoming appointments
    api_instance.appointmentlistmine(token, start=start, modifiedafter=modifiedafter)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentlistmine: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let start = 2013-10-20T19:20:30+01:00; // Date
    let modifiedafter = 2013-10-20T19:20:30+01:00; // Date

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentlistmine(token, start, modifiedafter, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
start
Date (date-time)
If specified, only appointments that start after the specified date will be returned.
modifiedafter
Date (date-time)
If specified, only appointments modified after the specified date will be returned.

Responses


appointmentlistupcoming

Search and view details of all my upcoming appointments

Allows the user to view all of their own upcoming appointments.


/appointmentlistupcoming

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentlistupcoming?token=&start=&modifiedafter="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date start = 2013-10-20T19:20:30+01:00; // Date | If specified, only appointments that start after the specified date will be returned.
        Date modifiedafter = 2013-10-20T19:20:30+01:00; // Date | If specified, only appointments modified after the specified date will be returned.
        try {
            apiInstance.appointmentlistupcoming(token, start, modifiedafter);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentlistupcoming");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date start = 2013-10-20T19:20:30+01:00; // Date | If specified, only appointments that start after the specified date will be returned.
        Date modifiedafter = 2013-10-20T19:20:30+01:00; // Date | If specified, only appointments modified after the specified date will be returned.
        try {
            apiInstance.appointmentlistupcoming(token, start, modifiedafter);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentlistupcoming");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Date *start = 2013-10-20T19:20:30+01:00; // If specified, only appointments that start after the specified date will be returned. (optional) (default to null)
Date *modifiedafter = 2013-10-20T19:20:30+01:00; // If specified, only appointments modified after the specified date will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of all my upcoming appointments
[apiInstance appointmentlistupcomingWith:token
    start:start
    modifiedafter:modifiedafter
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'start': 2013-10-20T19:20:30+01:00, // {Date} If specified, only appointments that start after the specified date will be returned.
  'modifiedafter': 2013-10-20T19:20:30+01:00 // {Date} If specified, only appointments modified after the specified date will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentlistupcoming(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentlistupcomingExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var start = 2013-10-20T19:20:30+01:00;  // Date | If specified, only appointments that start after the specified date will be returned. (optional)  (default to null)
            var modifiedafter = 2013-10-20T19:20:30+01:00;  // Date | If specified, only appointments modified after the specified date will be returned. (optional)  (default to null)

            try
            {
                // Search and view details of all my upcoming appointments
                apiInstance.appointmentlistupcoming(token, start, modifiedafter);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentlistupcoming: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$start = 2013-10-20T19:20:30+01:00; // Date | If specified, only appointments that start after the specified date will be returned.
$modifiedafter = 2013-10-20T19:20:30+01:00; // Date | If specified, only appointments modified after the specified date will be returned.

try {
    $api_instance->appointmentlistupcoming($token, $start, $modifiedafter);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentlistupcoming: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $start = 2013-10-20T19:20:30+01:00; # Date | If specified, only appointments that start after the specified date will be returned.
my $modifiedafter = 2013-10-20T19:20:30+01:00; # Date | If specified, only appointments modified after the specified date will be returned.

eval { 
    $api_instance->appointmentlistupcoming(token => $token, start => $start, modifiedafter => $modifiedafter);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentlistupcoming: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
start = 2013-10-20T19:20:30+01:00 # Date | If specified, only appointments that start after the specified date will be returned. (optional) (default to null)
modifiedafter = 2013-10-20T19:20:30+01:00 # Date | If specified, only appointments modified after the specified date will be returned. (optional) (default to null)

try: 
    # Search and view details of all my upcoming appointments
    api_instance.appointmentlistupcoming(token, start=start, modifiedafter=modifiedafter)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentlistupcoming: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let start = 2013-10-20T19:20:30+01:00; // Date
    let modifiedafter = 2013-10-20T19:20:30+01:00; // Date

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentlistupcoming(token, start, modifiedafter, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
start
Date (date-time)
If specified, only appointments that start after the specified date will be returned.
modifiedafter
Date (date-time)
If specified, only appointments modified after the specified date will be returned.

Responses


appointmentrescheduleoutlook

Reschedule an appointment from MS Outlook.

Allows the user to reschedule, edit, or cancel appointments via MS Outlook if the user has the AccuCampus add-on installed on their Outlook.


/appointmentrescheduleoutlook

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentrescheduleoutlook?token=&id=&start=&end="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to edit.
        Date start = 2013-10-20T19:20:30+01:00; // Date | The appointment's start date & time.
        Date end = 2013-10-20T19:20:30+01:00; // Date | The appointment's end date & time.
        try {
            apiInstance.appointmentrescheduleoutlook(token, id, start, end);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentrescheduleoutlook");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to edit.
        Date start = 2013-10-20T19:20:30+01:00; // Date | The appointment's start date & time.
        Date end = 2013-10-20T19:20:30+01:00; // Date | The appointment's end date & time.
        try {
            apiInstance.appointmentrescheduleoutlook(token, id, start, end);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentrescheduleoutlook");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the appointment to edit. (default to null)
Date *start = 2013-10-20T19:20:30+01:00; // The appointment's start date & time. (default to null)
Date *end = 2013-10-20T19:20:30+01:00; // The appointment's end date & time. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Reschedule an appointment from MS Outlook.
[apiInstance appointmentrescheduleoutlookWith:token
    id:id
    start:start
    end:end
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the appointment to edit.
var start = 2013-10-20T19:20:30+01:00; // {Date} The appointment's start date & time.
var end = 2013-10-20T19:20:30+01:00; // {Date} The appointment's end date & time.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentrescheduleoutlook(token, id, start, end, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentrescheduleoutlookExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the appointment to edit. (default to null)
            var start = 2013-10-20T19:20:30+01:00;  // Date | The appointment's start date & time. (default to null)
            var end = 2013-10-20T19:20:30+01:00;  // Date | The appointment's end date & time. (default to null)

            try
            {
                // Reschedule an appointment from MS Outlook.
                apiInstance.appointmentrescheduleoutlook(token, id, start, end);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentrescheduleoutlook: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to edit.
$start = 2013-10-20T19:20:30+01:00; // Date | The appointment's start date & time.
$end = 2013-10-20T19:20:30+01:00; // Date | The appointment's end date & time.

try {
    $api_instance->appointmentrescheduleoutlook($token, $id, $start, $end);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentrescheduleoutlook: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the appointment to edit.
my $start = 2013-10-20T19:20:30+01:00; # Date | The appointment's start date & time.
my $end = 2013-10-20T19:20:30+01:00; # Date | The appointment's end date & time.

eval { 
    $api_instance->appointmentrescheduleoutlook(token => $token, id => $id, start => $start, end => $end);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentrescheduleoutlook: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the appointment to edit. (default to null)
start = 2013-10-20T19:20:30+01:00 # Date | The appointment's start date & time. (default to null)
end = 2013-10-20T19:20:30+01:00 # Date | The appointment's end date & time. (default to null)

try: 
    # Reschedule an appointment from MS Outlook.
    api_instance.appointmentrescheduleoutlook(token, id, start, end)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentrescheduleoutlook: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let start = 2013-10-20T19:20:30+01:00; // Date
    let end = 2013-10-20T19:20:30+01:00; // Date

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentrescheduleoutlook(token, id, start, end, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the appointment to edit.
Required
start*
Date (date-time)
The appointment's start date & time.
Required
end*
Date (date-time)
The appointment's end date & time.
Required

Responses


appointmentrestore

Restore an appointment

Allows the user to restore a canceled appointment.


/appointmentrestore

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentrestore?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to restore.
        try {
            apiInstance.appointmentrestore(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentrestore");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to restore.
        try {
            apiInstance.appointmentrestore(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentrestore");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the appointment to restore. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Restore an appointment
[apiInstance appointmentrestoreWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the appointment to restore.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentrestore(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentrestoreExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the appointment to restore. (default to null)

            try
            {
                // Restore an appointment
                apiInstance.appointmentrestore(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentrestore: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to restore.

try {
    $api_instance->appointmentrestore($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentrestore: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the appointment to restore.

eval { 
    $api_instance->appointmentrestore(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentrestore: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the appointment to restore. (default to null)

try: 
    # Restore an appointment
    api_instance.appointmentrestore(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentrestore: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentrestore(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the appointment to restore.
Required

Responses


appointmentrestoreanyway

Restore an appointment even if it breaks activated rules

Allows the user to restore a canceled appointment even if that appointment breaks the rules or settings of that location.


/appointmentrestoreanyway

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentrestoreanyway?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to restore.
        try {
            apiInstance.appointmentrestoreanyway(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentrestoreanyway");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to restore.
        try {
            apiInstance.appointmentrestoreanyway(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentrestoreanyway");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the appointment to restore. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Restore an appointment even if it breaks activated rules
[apiInstance appointmentrestoreanywayWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the appointment to restore.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentrestoreanyway(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentrestoreanywayExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the appointment to restore. (default to null)

            try
            {
                // Restore an appointment even if it breaks activated rules
                apiInstance.appointmentrestoreanyway(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentrestoreanyway: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to restore.

try {
    $api_instance->appointmentrestoreanyway($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentrestoreanyway: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the appointment to restore.

eval { 
    $api_instance->appointmentrestoreanyway(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentrestoreanyway: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the appointment to restore. (default to null)

try: 
    # Restore an appointment even if it breaks activated rules
    api_instance.appointmentrestoreanyway(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentrestoreanyway: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentrestoreanyway(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the appointment to restore.
Required

Responses


appointmentsave

Schedule an appointment

Allows the user to schedule an appointment within the rules of the location and the availability of staff members.


/appointmentsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/appointmentsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.appointmentsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.appointmentsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Schedule an appointment
[apiInstance appointmentsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Schedule an appointment
                apiInstance.appointmentsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->appointmentsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->appointmentsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Schedule an appointment
    api_instance.appointmentsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


appointmentsetasvalid

Schedule an appointment even if it breaks activated rules

Allows the user to schedule an appointment even if it breaks the rules or settings of that location or if it goes against the availability of the staff member.


/appointmentsetasvalid

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentsetasvalid?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to set as valid.
        try {
            apiInstance.appointmentsetasvalid(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentsetasvalid");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to set as valid.
        try {
            apiInstance.appointmentsetasvalid(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentsetasvalid");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the appointment to set as valid. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Schedule an appointment even if it breaks activated rules
[apiInstance appointmentsetasvalidWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the appointment to set as valid.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentsetasvalid(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentsetasvalidExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the appointment to set as valid. (default to null)

            try
            {
                // Schedule an appointment even if it breaks activated rules
                apiInstance.appointmentsetasvalid(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentsetasvalid: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to set as valid.

try {
    $api_instance->appointmentsetasvalid($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentsetasvalid: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the appointment to set as valid.

eval { 
    $api_instance->appointmentsetasvalid(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentsetasvalid: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the appointment to set as valid. (default to null)

try: 
    # Schedule an appointment even if it breaks activated rules
    api_instance.appointmentsetasvalid(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentsetasvalid: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentsetasvalid(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the appointment to set as valid.
Required

Responses


appointmentsuggestlocations

View the locations with most appointments

Allows the user to view suggestions for the most popular locations in which to make appointments


/appointmentsuggestlocations

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentsuggestlocations?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.appointmentsuggestlocations(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentsuggestlocations");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.appointmentsuggestlocations(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentsuggestlocations");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View the locations with most appointments
[apiInstance appointmentsuggestlocationsWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentsuggestlocations(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentsuggestlocationsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View the locations with most appointments
                apiInstance.appointmentsuggestlocations(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentsuggestlocations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->appointmentsuggestlocations($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentsuggestlocations: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->appointmentsuggestlocations(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentsuggestlocations: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View the locations with most appointments
    api_instance.appointmentsuggestlocations(token)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentsuggestlocations: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentsuggestlocations(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


appointmentsuggestservices

View the services with most appointments

Allows the user to view suggestions for the most popular services for which to make appointments.


/appointmentsuggestservices

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentsuggestservices?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.appointmentsuggestservices(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentsuggestservices");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.appointmentsuggestservices(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentsuggestservices");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View the services with most appointments
[apiInstance appointmentsuggestservicesWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentsuggestservices(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentsuggestservicesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View the services with most appointments
                apiInstance.appointmentsuggestservices(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentsuggestservices: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->appointmentsuggestservices($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentsuggestservices: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->appointmentsuggestservices(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentsuggestservices: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View the services with most appointments
    api_instance.appointmentsuggestservices(token)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentsuggestservices: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentsuggestservices(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


appointmentvoid

Void an appointment

Allows the user to void an appointment that has been marked as a no-show so that it does not count against the student's restrictions.


/appointmentvoid

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appointmentvoid?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to cancel.
        try {
            apiInstance.appointmentvoid(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentvoid");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to cancel.
        try {
            apiInstance.appointmentvoid(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appointmentvoid");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the appointment to cancel. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Void an appointment
[apiInstance appointmentvoidWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the appointment to cancel.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appointmentvoid(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appointmentvoidExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the appointment to cancel. (default to null)

            try
            {
                // Void an appointment
                apiInstance.appointmentvoid(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appointmentvoid: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the appointment to cancel.

try {
    $api_instance->appointmentvoid($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appointmentvoid: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the appointment to cancel.

eval { 
    $api_instance->appointmentvoid(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->appointmentvoid: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the appointment to cancel. (default to null)

try: 
    # Void an appointment
    api_instance.appointmentvoid(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->appointmentvoid: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.appointmentvoid(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the appointment to cancel.
Required

Responses


appsharegetphone

Gets the phone number of the current user


/appsharegetphone

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appsharegetphone?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.appsharegetphone(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appsharegetphone");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.appsharegetphone(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appsharegetphone");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the phone number of the current user
[apiInstance appsharegetphoneWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appsharegetphone(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appsharegetphoneExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Gets the phone number of the current user
                apiInstance.appsharegetphone(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appsharegetphone: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->appsharegetphone($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appsharegetphone: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->appsharegetphone(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->appsharegetphone: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Gets the phone number of the current user
    api_instance.appsharegetphone(token)
except ApiException as e:
    print("Exception when calling DefaultApi->appsharegetphone: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.appsharegetphone(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


appsharesendtext

Sends an SMS with the link to the app


/appsharesendtext

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/appsharesendtext?token=&phonenumber="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String phonenumber = phonenumber_example; // String | Phone number to where to send the link. Leave empty to the number on file.
        try {
            apiInstance.appsharesendtext(token, phonenumber);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appsharesendtext");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String phonenumber = phonenumber_example; // String | Phone number to where to send the link. Leave empty to the number on file.
        try {
            apiInstance.appsharesendtext(token, phonenumber);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#appsharesendtext");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *phonenumber = phonenumber_example; // Phone number to where to send the link. Leave empty to the number on file. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Sends an SMS with the link to the app
[apiInstance appsharesendtextWith:token
    phonenumber:phonenumber
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'phonenumber': phonenumber_example // {String} Phone number to where to send the link. Leave empty to the number on file.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.appsharesendtext(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class appsharesendtextExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var phonenumber = phonenumber_example;  // String | Phone number to where to send the link. Leave empty to the number on file. (optional)  (default to null)

            try
            {
                // Sends an SMS with the link to the app
                apiInstance.appsharesendtext(token, phonenumber);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.appsharesendtext: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$phonenumber = phonenumber_example; // String | Phone number to where to send the link. Leave empty to the number on file.

try {
    $api_instance->appsharesendtext($token, $phonenumber);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->appsharesendtext: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $phonenumber = phonenumber_example; # String | Phone number to where to send the link. Leave empty to the number on file.

eval { 
    $api_instance->appsharesendtext(token => $token, phonenumber => $phonenumber);
};
if ($@) {
    warn "Exception when calling DefaultApi->appsharesendtext: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
phonenumber = phonenumber_example # String | Phone number to where to send the link. Leave empty to the number on file. (optional) (default to null)

try: 
    # Sends an SMS with the link to the app
    api_instance.appsharesendtext(token, phonenumber=phonenumber)
except ApiException as e:
    print("Exception when calling DefaultApi->appsharesendtext: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let phonenumber = phonenumber_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.appsharesendtext(token, phonenumber, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
phonenumber
String
Phone number to where to send the link. Leave empty to the number on file.

Responses


attendancelogcommentdelete

Delete a comment on an attendance log


/attendancelogcommentdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/attendancelogcommentdelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log comment to delete.
        try {
            apiInstance.attendancelogcommentdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogcommentdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log comment to delete.
        try {
            apiInstance.attendancelogcommentdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogcommentdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the attendance log comment to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a comment on an attendance log
[apiInstance attendancelogcommentdeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the attendance log comment to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attendancelogcommentdelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attendancelogcommentdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the attendance log comment to delete. (default to null)

            try
            {
                // Delete a comment on an attendance log
                apiInstance.attendancelogcommentdelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.attendancelogcommentdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log comment to delete.

try {
    $api_instance->attendancelogcommentdelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attendancelogcommentdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the attendance log comment to delete.

eval { 
    $api_instance->attendancelogcommentdelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->attendancelogcommentdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the attendance log comment to delete. (default to null)

try: 
    # Delete a comment on an attendance log
    api_instance.attendancelogcommentdelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->attendancelogcommentdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.attendancelogcommentdelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the attendance log comment to delete.
Required

Responses


attendancelogcommentget

View a comment on an attendance log


/attendancelogcommentget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/attendancelogcommentget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the comment to get.
        try {
            apiInstance.attendancelogcommentget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogcommentget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the comment to get.
        try {
            apiInstance.attendancelogcommentget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogcommentget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the comment to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a comment on an attendance log
[apiInstance attendancelogcommentgetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the comment to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attendancelogcommentget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attendancelogcommentgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the comment to get. (default to null)

            try
            {
                // View a comment on an attendance log
                apiInstance.attendancelogcommentget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.attendancelogcommentget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the comment to get.

try {
    $api_instance->attendancelogcommentget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attendancelogcommentget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the comment to get.

eval { 
    $api_instance->attendancelogcommentget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->attendancelogcommentget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the comment to get. (default to null)

try: 
    # View a comment on an attendance log
    api_instance.attendancelogcommentget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->attendancelogcommentget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.attendancelogcommentget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the comment to get.
Required

Responses


attendancelogcommentlist

View all the comments on a specific attendance log


/attendancelogcommentlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/attendancelogcommentlist?token=&attendancelog="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID attendancelog = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log whose comments have to be retrieved.
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.attendancelogcommentlist(attendancelog, token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogcommentlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID attendancelog = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log whose comments have to be retrieved.
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.attendancelogcommentlist(attendancelog, token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogcommentlist");
            e.printStackTrace();
        }
    }
}
UUID *attendancelog = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the attendance log whose comments have to be retrieved. (default to null)
String *token = token_example; // The authentication token. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View all the comments on a specific attendance log
[apiInstance attendancelogcommentlistWith:attendancelog
    token:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var attendancelog = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the attendance log whose comments have to be retrieved.
var opts = {
  'token': token_example // {String} The authentication token.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attendancelogcommentlist(attendancelog, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attendancelogcommentlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var attendancelog = new UUID(); // UUID | The id of the attendance log whose comments have to be retrieved. (default to null)
            var token = token_example;  // String | The authentication token. (optional)  (default to null)

            try
            {
                // View all the comments on a specific attendance log
                apiInstance.attendancelogcommentlist(attendancelog, token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.attendancelogcommentlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$attendancelog = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log whose comments have to be retrieved.
$token = token_example; // String | The authentication token.

try {
    $api_instance->attendancelogcommentlist($attendancelog, $token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attendancelogcommentlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $attendancelog = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the attendance log whose comments have to be retrieved.
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->attendancelogcommentlist(attendancelog => $attendancelog, token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->attendancelogcommentlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
attendancelog = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the attendance log whose comments have to be retrieved. (default to null)
token = token_example # String | The authentication token. (optional) (default to null)

try: 
    # View all the comments on a specific attendance log
    api_instance.attendancelogcommentlist(attendancelog, token=token)
except ApiException as e:
    print("Exception when calling DefaultApi->attendancelogcommentlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let attendancelog = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.attendancelogcommentlist(attendancelog, token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token
String
The authentication token.
attendancelog*
UUID (uuid)
The id of the attendance log whose comments have to be retrieved.
Required

Responses


attendancelogcommentsave

Save a comment on an attendance log


/attendancelogcommentsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/attendancelogcommentsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.attendancelogcommentsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogcommentsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.attendancelogcommentsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogcommentsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Save a comment on an attendance log
[apiInstance attendancelogcommentsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attendancelogcommentsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attendancelogcommentsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Save a comment on an attendance log
                apiInstance.attendancelogcommentsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.attendancelogcommentsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->attendancelogcommentsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attendancelogcommentsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->attendancelogcommentsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->attendancelogcommentsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Save a comment on an attendance log
    api_instance.attendancelogcommentsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->attendancelogcommentsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.attendancelogcommentsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


attendancelogdelete

Delete an attendance log

Allows the user to delete an existing attendance log.


/attendancelogdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/attendancelogdelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to delete.
        try {
            apiInstance.attendancelogdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to delete.
        try {
            apiInstance.attendancelogdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the attendance log to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete an attendance log
[apiInstance attendancelogdeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the attendance log to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attendancelogdelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attendancelogdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the attendance log to delete. (default to null)

            try
            {
                // Delete an attendance log
                apiInstance.attendancelogdelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.attendancelogdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to delete.

try {
    $api_instance->attendancelogdelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attendancelogdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the attendance log to delete.

eval { 
    $api_instance->attendancelogdelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->attendancelogdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the attendance log to delete. (default to null)

try: 
    # Delete an attendance log
    api_instance.attendancelogdelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->attendancelogdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.attendancelogdelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the attendance log to delete.
Required

Responses


attendancelogget

Search and view details of an attendance log

Allows the user to view an individual attendance log and its details.


/attendancelogget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/attendancelogget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to get.
        try {
            apiInstance.attendancelogget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to get.
        try {
            apiInstance.attendancelogget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the attendance log to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of an attendance log
[apiInstance attendanceloggetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the attendance log to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attendancelogget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attendanceloggetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the attendance log to get. (default to null)

            try
            {
                // Search and view details of an attendance log
                apiInstance.attendancelogget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.attendancelogget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to get.

try {
    $api_instance->attendancelogget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attendancelogget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the attendance log to get.

eval { 
    $api_instance->attendancelogget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->attendancelogget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the attendance log to get. (default to null)

try: 
    # Search and view details of an attendance log
    api_instance.attendancelogget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->attendancelogget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.attendancelogget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the attendance log to get.
Required

Responses


attendanceloggetchangehistory

Search and view details of an attendance log's swipe history

Allows the user to view the swipes of an individual attendance logs (sign ins and sign outs).


/attendanceloggetchangehistory

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/attendanceloggetchangehistory?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to get.
        try {
            apiInstance.attendanceloggetchangehistory(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendanceloggetchangehistory");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to get.
        try {
            apiInstance.attendanceloggetchangehistory(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendanceloggetchangehistory");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the attendance log to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of an attendance log's swipe history
[apiInstance attendanceloggetchangehistoryWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the attendance log to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attendanceloggetchangehistory(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attendanceloggetchangehistoryExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the attendance log to get. (default to null)

            try
            {
                // Search and view details of an attendance log's swipe history
                apiInstance.attendanceloggetchangehistory(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.attendanceloggetchangehistory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to get.

try {
    $api_instance->attendanceloggetchangehistory($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attendanceloggetchangehistory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the attendance log to get.

eval { 
    $api_instance->attendanceloggetchangehistory(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->attendanceloggetchangehistory: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the attendance log to get. (default to null)

try: 
    # Search and view details of an attendance log's swipe history
    api_instance.attendanceloggetchangehistory(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->attendanceloggetchangehistory: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.attendanceloggetchangehistory(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the attendance log to get.
Required

Responses


attendanceloglist

View a list of attendance logs

Allows the user to view the list of all attendance logs in the location or locations in which the user is scoped.


/attendanceloglist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/attendanceloglist?token=&from=&count=&filter=&userid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String token = token_example; // String | The authentication token.
        String filter = filter_example; // String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user ID of the user to get the logs.
        try {
            apiInstance.attendanceloglist(from, count, token, filter, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendanceloglist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String token = token_example; // String | The authentication token.
        String filter = filter_example; // String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user ID of the user to get the logs.
        try {
            apiInstance.attendanceloglist(from, count, token, filter, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendanceloglist");
            e.printStackTrace();
        }
    }
}
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
String *token = token_example; // The authentication token. (optional) (default to null)
String *filter = filter_example; // Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid. (optional) (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The user ID of the user to get the logs. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of attendance logs
[apiInstance attendanceloglistWith:from
    count:count
    token:token
    filter:filter
    userid:userid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'token': token_example, // {String} The authentication token.
  'filter': filter_example, // {String} Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.
  'userid': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} The user ID of the user to get the logs.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attendanceloglist(from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attendanceloglistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var token = token_example;  // String | The authentication token. (optional)  (default to null)
            var filter = filter_example;  // String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid. (optional)  (default to null)
            var userid = new UUID(); // UUID | The user ID of the user to get the logs. (optional)  (default to null)

            try
            {
                // View a list of attendance logs
                apiInstance.attendanceloglist(from, count, token, filter, userid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.attendanceloglist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$token = token_example; // String | The authentication token.
$filter = filter_example; // String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user ID of the user to get the logs.

try {
    $api_instance->attendanceloglist($from, $count, $token, $filter, $userid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attendanceloglist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $token = token_example; # String | The authentication token.
my $filter = filter_example; # String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The user ID of the user to get the logs.

eval { 
    $api_instance->attendanceloglist(from => $from, count => $count, token => $token, filter => $filter, userid => $userid);
};
if ($@) {
    warn "Exception when calling DefaultApi->attendanceloglist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
token = token_example # String | The authentication token. (optional) (default to null)
filter = filter_example # String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid. (optional) (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The user ID of the user to get the logs. (optional) (default to null)

try: 
    # View a list of attendance logs
    api_instance.attendanceloglist(from, count, token=token, filter=filter, userid=userid)
except ApiException as e:
    print("Exception when calling DefaultApi->attendanceloglist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let from = 56; // Integer
    let count = 56; // Integer
    let token = token_example; // String
    let filter = filter_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.attendanceloglist(from, count, token, filter, userid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token
String
The authentication token.
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
filter
String
Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.
userid
UUID (uuid)
The user ID of the user to get the logs.

Responses


attendanceloglistmine

Gets the attendance logs of the current user


/attendanceloglistmine

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/attendanceloglistmine?token=&from=&count=&filter="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String token = token_example; // String | The authentication token.
        String filter = filter_example; // String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.
        try {
            apiInstance.attendanceloglistmine(from, count, token, filter);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendanceloglistmine");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String token = token_example; // String | The authentication token.
        String filter = filter_example; // String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.
        try {
            apiInstance.attendanceloglistmine(from, count, token, filter);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendanceloglistmine");
            e.printStackTrace();
        }
    }
}
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
String *token = token_example; // The authentication token. (optional) (default to null)
String *filter = filter_example; // Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the attendance logs of the current user
[apiInstance attendanceloglistmineWith:from
    count:count
    token:token
    filter:filter
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'token': token_example, // {String} The authentication token.
  'filter': filter_example // {String} Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attendanceloglistmine(from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attendanceloglistmineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var token = token_example;  // String | The authentication token. (optional)  (default to null)
            var filter = filter_example;  // String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid. (optional)  (default to null)

            try
            {
                // Gets the attendance logs of the current user
                apiInstance.attendanceloglistmine(from, count, token, filter);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.attendanceloglistmine: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$token = token_example; // String | The authentication token.
$filter = filter_example; // String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.

try {
    $api_instance->attendanceloglistmine($from, $count, $token, $filter);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attendanceloglistmine: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $token = token_example; # String | The authentication token.
my $filter = filter_example; # String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.

eval { 
    $api_instance->attendanceloglistmine(from => $from, count => $count, token => $token, filter => $filter);
};
if ($@) {
    warn "Exception when calling DefaultApi->attendanceloglistmine: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
token = token_example # String | The authentication token. (optional) (default to null)
filter = filter_example # String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid. (optional) (default to null)

try: 
    # Gets the attendance logs of the current user
    api_instance.attendanceloglistmine(from, count, token=token, filter=filter)
except ApiException as e:
    print("Exception when calling DefaultApi->attendanceloglistmine: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let from = 56; // Integer
    let count = 56; // Integer
    let token = token_example; // String
    let filter = filter_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.attendanceloglistmine(from, count, token, filter, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token
String
The authentication token.
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
filter
String
Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.

Responses


attendancelogliststaff

Gets the attendance logs that the current user is involved in as staff


/attendancelogliststaff

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/attendancelogliststaff?token=&from=&count=&filter="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String token = token_example; // String | The authentication token.
        String filter = filter_example; // String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.
        try {
            apiInstance.attendancelogliststaff(from, count, token, filter);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogliststaff");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String token = token_example; // String | The authentication token.
        String filter = filter_example; // String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.
        try {
            apiInstance.attendancelogliststaff(from, count, token, filter);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogliststaff");
            e.printStackTrace();
        }
    }
}
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
String *token = token_example; // The authentication token. (optional) (default to null)
String *filter = filter_example; // Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the attendance logs that the current user is involved in as staff
[apiInstance attendancelogliststaffWith:from
    count:count
    token:token
    filter:filter
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'token': token_example, // {String} The authentication token.
  'filter': filter_example // {String} Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attendancelogliststaff(from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attendancelogliststaffExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var token = token_example;  // String | The authentication token. (optional)  (default to null)
            var filter = filter_example;  // String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid. (optional)  (default to null)

            try
            {
                // Gets the attendance logs that the current user is involved in as staff
                apiInstance.attendancelogliststaff(from, count, token, filter);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.attendancelogliststaff: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$token = token_example; // String | The authentication token.
$filter = filter_example; // String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.

try {
    $api_instance->attendancelogliststaff($from, $count, $token, $filter);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attendancelogliststaff: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $token = token_example; # String | The authentication token.
my $filter = filter_example; # String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.

eval { 
    $api_instance->attendancelogliststaff(from => $from, count => $count, token => $token, filter => $filter);
};
if ($@) {
    warn "Exception when calling DefaultApi->attendancelogliststaff: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
token = token_example # String | The authentication token. (optional) (default to null)
filter = filter_example # String | Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid. (optional) (default to null)

try: 
    # Gets the attendance logs that the current user is involved in as staff
    api_instance.attendancelogliststaff(from, count, token=token, filter=filter)
except ApiException as e:
    print("Exception when calling DefaultApi->attendancelogliststaff: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let from = 56; // Integer
    let count = 56; // Integer
    let token = token_example; // String
    let filter = filter_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.attendancelogliststaff(from, count, token, filter, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token
String
The authentication token.
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
filter
String
Filter the logs, valid values are: invalid, not-signed-in, not-signed-out, stayed-less-than-required, out-of-event, valid.

Responses


attendancelogsave

Create or edit an attendance log

Allows the user to create or edit an attendance log.


/attendancelogsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/attendancelogsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.attendancelogsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.attendancelogsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit an attendance log
[apiInstance attendancelogsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attendancelogsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attendancelogsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit an attendance log
                apiInstance.attendancelogsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.attendancelogsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->attendancelogsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attendancelogsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->attendancelogsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->attendancelogsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit an attendance log
    api_instance.attendancelogsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->attendancelogsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.attendancelogsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


attendancelogsignout

Sign out an attendance log

Allows the user to sign out am attendance log from the Who's In page.


/attendancelogsignout

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/attendancelogsignout?token=&id=&location=&event=&datetime="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to sign-out.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to filter the users to sign out.
        UUID event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter the users to sign out.
        Date datetime = 2013-10-20T19:20:30+01:00; // Date | Specifies the date and time when the specified logs have to be signed out.
        try {
            apiInstance.attendancelogsignout(token, id, location, event, datetime);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogsignout");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to sign-out.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to filter the users to sign out.
        UUID event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter the users to sign out.
        Date datetime = 2013-10-20T19:20:30+01:00; // Date | Specifies the date and time when the specified logs have to be signed out.
        try {
            apiInstance.attendancelogsignout(token, id, location, event, datetime);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogsignout");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the attendance log to sign-out. (optional) (default to null)
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location to filter the users to sign out. (optional) (default to null)
UUID *event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event to filter the users to sign out. (optional) (default to null)
Date *datetime = 2013-10-20T19:20:30+01:00; // Specifies the date and time when the specified logs have to be signed out. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Sign out an attendance log
[apiInstance attendancelogsignoutWith:token
    id:id
    location:location
    event:event
    datetime:datetime
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'id': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the attendance log to sign-out.
  'location': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the location to filter the users to sign out.
  'event': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the event to filter the users to sign out.
  'datetime': 2013-10-20T19:20:30+01:00 // {Date} Specifies the date and time when the specified logs have to be signed out.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attendancelogsignout(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attendancelogsignoutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the attendance log to sign-out. (optional)  (default to null)
            var location = new UUID(); // UUID | The id of the location to filter the users to sign out. (optional)  (default to null)
            var event = new UUID(); // UUID | The id of the event to filter the users to sign out. (optional)  (default to null)
            var datetime = 2013-10-20T19:20:30+01:00;  // Date | Specifies the date and time when the specified logs have to be signed out. (optional)  (default to null)

            try
            {
                // Sign out an attendance log
                apiInstance.attendancelogsignout(token, id, location, event, datetime);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.attendancelogsignout: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to sign-out.
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to filter the users to sign out.
$event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter the users to sign out.
$datetime = 2013-10-20T19:20:30+01:00; // Date | Specifies the date and time when the specified logs have to be signed out.

try {
    $api_instance->attendancelogsignout($token, $id, $location, $event, $datetime);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attendancelogsignout: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the attendance log to sign-out.
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location to filter the users to sign out.
my $event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event to filter the users to sign out.
my $datetime = 2013-10-20T19:20:30+01:00; # Date | Specifies the date and time when the specified logs have to be signed out.

eval { 
    $api_instance->attendancelogsignout(token => $token, id => $id, location => $location, event => $event, datetime => $datetime);
};
if ($@) {
    warn "Exception when calling DefaultApi->attendancelogsignout: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the attendance log to sign-out. (optional) (default to null)
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location to filter the users to sign out. (optional) (default to null)
event = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event to filter the users to sign out. (optional) (default to null)
datetime = 2013-10-20T19:20:30+01:00 # Date | Specifies the date and time when the specified logs have to be signed out. (optional) (default to null)

try: 
    # Sign out an attendance log
    api_instance.attendancelogsignout(token, id=id, location=location, event=event, datetime=datetime)
except ApiException as e:
    print("Exception when calling DefaultApi->attendancelogsignout: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let datetime = 2013-10-20T19:20:30+01:00; // Date

    let mut context = DefaultApi::Context::default();
    let result = client.attendancelogsignout(token, id, location, event, datetime, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id
UUID (uuid)
The id of the attendance log to sign-out.
location
UUID (uuid)
The id of the location to filter the users to sign out.
event
UUID (uuid)
The id of the event to filter the users to sign out.
datetime
Date (date-time)
Specifies the date and time when the specified logs have to be signed out.

Responses


attendancelogwhosin

View who's in a location

Allows the user to view the Who's In page and view all users who are logged into locations in which the user is scoped.


/attendancelogwhosin

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/attendancelogwhosin?token=&from=&count=&location=&event=&sorting=&roles=&photosize=&extensions=&export="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String token = token_example; // String | The authentication token.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to search for users that are in.
        UUID event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to search for users that are in.
        String sorting = sorting_example; // String | Field to sort by. Either first-name, last-name or sign-in-time.
        String roles = roles_example; // String | The comma-separated list of ids of the roles to search for users that are in.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        String extensions = extensions_example; // String | A JSON array containing the extension filters (i.e [{name: 'nametofilter', value: 'valuetofilter'}]).
        Boolean export = true; // Boolean | True to export the results as CSV
        try {
            apiInstance.attendancelogwhosin(from, count, token, location, event, sorting, roles, photosize, extensions, export);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogwhosin");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String token = token_example; // String | The authentication token.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to search for users that are in.
        UUID event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to search for users that are in.
        String sorting = sorting_example; // String | Field to sort by. Either first-name, last-name or sign-in-time.
        String roles = roles_example; // String | The comma-separated list of ids of the roles to search for users that are in.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        String extensions = extensions_example; // String | A JSON array containing the extension filters (i.e [{name: 'nametofilter', value: 'valuetofilter'}]).
        Boolean export = true; // Boolean | True to export the results as CSV
        try {
            apiInstance.attendancelogwhosin(from, count, token, location, event, sorting, roles, photosize, extensions, export);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancelogwhosin");
            e.printStackTrace();
        }
    }
}
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
String *token = token_example; // The authentication token. (optional) (default to null)
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location to search for users that are in. (optional) (default to null)
UUID *event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event to search for users that are in. (optional) (default to null)
String *sorting = sorting_example; // Field to sort by. Either first-name, last-name or sign-in-time. (optional) (default to null)
String *roles = roles_example; // The comma-separated list of ids of the roles to search for users that are in. (optional) (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)
String *extensions = extensions_example; // A JSON array containing the extension filters (i.e [{name: 'nametofilter', value: 'valuetofilter'}]). (optional) (default to null)
Boolean *export = true; // True to export the results as CSV (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View who's in a location
[apiInstance attendancelogwhosinWith:from
    count:count
    token:token
    location:location
    event:event
    sorting:sorting
    roles:roles
    photosize:photosize
    extensions:extensions
    export:export
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'token': token_example, // {String} The authentication token.
  'location': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the location to search for users that are in.
  'event': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the event to search for users that are in.
  'sorting': sorting_example, // {String} Field to sort by. Either first-name, last-name or sign-in-time.
  'roles': roles_example, // {String} The comma-separated list of ids of the roles to search for users that are in.
  'photosize': 56, // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
  'extensions': extensions_example, // {String} A JSON array containing the extension filters (i.e [{name: 'nametofilter', value: 'valuetofilter'}]).
  'export': true // {Boolean} True to export the results as CSV
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attendancelogwhosin(from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attendancelogwhosinExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var token = token_example;  // String | The authentication token. (optional)  (default to null)
            var location = new UUID(); // UUID | The id of the location to search for users that are in. (optional)  (default to null)
            var event = new UUID(); // UUID | The id of the event to search for users that are in. (optional)  (default to null)
            var sorting = sorting_example;  // String | Field to sort by. Either first-name, last-name or sign-in-time. (optional)  (default to null)
            var roles = roles_example;  // String | The comma-separated list of ids of the roles to search for users that are in. (optional)  (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)
            var extensions = extensions_example;  // String | A JSON array containing the extension filters (i.e [{name: 'nametofilter', value: 'valuetofilter'}]). (optional)  (default to null)
            var export = true;  // Boolean | True to export the results as CSV (optional)  (default to null)

            try
            {
                // View who's in a location
                apiInstance.attendancelogwhosin(from, count, token, location, event, sorting, roles, photosize, extensions, export);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.attendancelogwhosin: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$token = token_example; // String | The authentication token.
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to search for users that are in.
$event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to search for users that are in.
$sorting = sorting_example; // String | Field to sort by. Either first-name, last-name or sign-in-time.
$roles = roles_example; // String | The comma-separated list of ids of the roles to search for users that are in.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
$extensions = extensions_example; // String | A JSON array containing the extension filters (i.e [{name: 'nametofilter', value: 'valuetofilter'}]).
$export = true; // Boolean | True to export the results as CSV

try {
    $api_instance->attendancelogwhosin($from, $count, $token, $location, $event, $sorting, $roles, $photosize, $extensions, $export);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attendancelogwhosin: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $token = token_example; # String | The authentication token.
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location to search for users that are in.
my $event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event to search for users that are in.
my $sorting = sorting_example; # String | Field to sort by. Either first-name, last-name or sign-in-time.
my $roles = roles_example; # String | The comma-separated list of ids of the roles to search for users that are in.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
my $extensions = extensions_example; # String | A JSON array containing the extension filters (i.e [{name: 'nametofilter', value: 'valuetofilter'}]).
my $export = true; # Boolean | True to export the results as CSV

eval { 
    $api_instance->attendancelogwhosin(from => $from, count => $count, token => $token, location => $location, event => $event, sorting => $sorting, roles => $roles, photosize => $photosize, extensions => $extensions, export => $export);
};
if ($@) {
    warn "Exception when calling DefaultApi->attendancelogwhosin: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
token = token_example # String | The authentication token. (optional) (default to null)
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location to search for users that are in. (optional) (default to null)
event = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event to search for users that are in. (optional) (default to null)
sorting = sorting_example # String | Field to sort by. Either first-name, last-name or sign-in-time. (optional) (default to null)
roles = roles_example # String | The comma-separated list of ids of the roles to search for users that are in. (optional) (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)
extensions = extensions_example # String | A JSON array containing the extension filters (i.e [{name: 'nametofilter', value: 'valuetofilter'}]). (optional) (default to null)
export = true # Boolean | True to export the results as CSV (optional) (default to null)

try: 
    # View who's in a location
    api_instance.attendancelogwhosin(from, count, token=token, location=location, event=event, sorting=sorting, roles=roles, photosize=photosize, extensions=extensions, export=export)
except ApiException as e:
    print("Exception when calling DefaultApi->attendancelogwhosin: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let from = 56; // Integer
    let count = 56; // Integer
    let token = token_example; // String
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let sorting = sorting_example; // String
    let roles = roles_example; // String
    let photosize = 56; // Integer
    let extensions = extensions_example; // String
    let export = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.attendancelogwhosin(from, count, token, location, event, sorting, roles, photosize, extensions, export, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token
String
The authentication token.
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
location
UUID (uuid)
The id of the location to search for users that are in.
event
UUID (uuid)
The id of the event to search for users that are in.
sorting
String
Field to sort by. Either first-name, last-name or sign-in-time.
roles
String
The comma-separated list of ids of the roles to search for users that are in.
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
extensions
String
A JSON array containing the extension filters (i.e [{name: 'nametofilter', value: 'valuetofilter'}]).
export
Boolean
True to export the results as CSV

Responses


attendancerestrictiondelete

Delete an attendance restriction

Allows the user to delete an existing attendance restriction.


/attendancerestrictiondelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/attendancerestrictiondelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the restriction to delete.
        try {
            apiInstance.attendancerestrictiondelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancerestrictiondelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the restriction to delete.
        try {
            apiInstance.attendancerestrictiondelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancerestrictiondelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the restriction to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete an attendance restriction
[apiInstance attendancerestrictiondeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the restriction to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attendancerestrictiondelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attendancerestrictiondeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the restriction to delete. (default to null)

            try
            {
                // Delete an attendance restriction
                apiInstance.attendancerestrictiondelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.attendancerestrictiondelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the restriction to delete.

try {
    $api_instance->attendancerestrictiondelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attendancerestrictiondelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the restriction to delete.

eval { 
    $api_instance->attendancerestrictiondelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->attendancerestrictiondelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the restriction to delete. (default to null)

try: 
    # Delete an attendance restriction
    api_instance.attendancerestrictiondelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->attendancerestrictiondelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.attendancerestrictiondelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the restriction to delete.
Required

Responses


attendancerestrictionget

View details of an attendance restriction

Allows the user to view an individual attendance restriction and its details.


/attendancerestrictionget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/attendancerestrictionget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the restriction to get.
        try {
            apiInstance.attendancerestrictionget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancerestrictionget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the restriction to get.
        try {
            apiInstance.attendancerestrictionget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancerestrictionget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the restriction to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of an attendance restriction
[apiInstance attendancerestrictiongetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the restriction to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attendancerestrictionget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attendancerestrictiongetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the restriction to get. (default to null)

            try
            {
                // View details of an attendance restriction
                apiInstance.attendancerestrictionget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.attendancerestrictionget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the restriction to get.

try {
    $api_instance->attendancerestrictionget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attendancerestrictionget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the restriction to get.

eval { 
    $api_instance->attendancerestrictionget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->attendancerestrictionget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the restriction to get. (default to null)

try: 
    # View details of an attendance restriction
    api_instance.attendancerestrictionget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->attendancerestrictionget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.attendancerestrictionget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the restriction to get.
Required

Responses


attendancerestrictionlist

View a list of attendance restrictions

Allows the user to view the list of all attendance restrictions.


/attendancerestrictionlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/attendancerestrictionlist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.attendancerestrictionlist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancerestrictionlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.attendancerestrictionlist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancerestrictionlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of attendance restrictions
[apiInstance attendancerestrictionlistWith:token
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attendancerestrictionlist(token, from, count, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attendancerestrictionlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)

            try
            {
                // View a list of attendance restrictions
                apiInstance.attendancerestrictionlist(token, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.attendancerestrictionlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->attendancerestrictionlist($token, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attendancerestrictionlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->attendancerestrictionlist(token => $token, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->attendancerestrictionlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)

try: 
    # View a list of attendance restrictions
    api_instance.attendancerestrictionlist(token, from, count)
except ApiException as e:
    print("Exception when calling DefaultApi->attendancerestrictionlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.attendancerestrictionlist(token, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


attendancerestrictionsave

Create or edit an attendance restriction

Allows the user to create or edit an attendance restriction.


/attendancerestrictionsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/attendancerestrictionsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.attendancerestrictionsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancerestrictionsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.attendancerestrictionsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attendancerestrictionsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit an attendance restriction
[apiInstance attendancerestrictionsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attendancerestrictionsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class attendancerestrictionsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit an attendance restriction
                apiInstance.attendancerestrictionsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.attendancerestrictionsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->attendancerestrictionsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->attendancerestrictionsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->attendancerestrictionsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->attendancerestrictionsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit an attendance restriction
    api_instance.attendancerestrictionsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->attendancerestrictionsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.attendancerestrictionsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


beacondelete

Delete a beacon profile

Allows the user to delete an existing beacon profile.


/beacondelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/beacondelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the beacon to delete.
        try {
            apiInstance.beacondelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beacondelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the beacon to delete.
        try {
            apiInstance.beacondelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beacondelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the beacon to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a beacon profile
[apiInstance beacondeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the beacon to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.beacondelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class beacondeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the beacon to delete. (default to null)

            try
            {
                // Delete a beacon profile
                apiInstance.beacondelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.beacondelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the beacon to delete.

try {
    $api_instance->beacondelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->beacondelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the beacon to delete.

eval { 
    $api_instance->beacondelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->beacondelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the beacon to delete. (default to null)

try: 
    # Delete a beacon profile
    api_instance.beacondelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->beacondelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.beacondelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the beacon to delete.
Required

Responses


beacondisable

Disable beacon support account wide

Allows the user to enable or disable beacon usage account wide.


/beacondisable

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/beacondisable?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.beacondisable(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beacondisable");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.beacondisable(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beacondisable");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Disable beacon support account wide
[apiInstance beacondisableWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.beacondisable(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class beacondisableExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Disable beacon support account wide
                apiInstance.beacondisable(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.beacondisable: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->beacondisable($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->beacondisable: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->beacondisable(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->beacondisable: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Disable beacon support account wide
    api_instance.beacondisable(token)
except ApiException as e:
    print("Exception when calling DefaultApi->beacondisable: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.beacondisable(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


beaconget

View details of a beacon profile

Allows the user to view an individual beacon profile and its details.


/beaconget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/beaconget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the beacon to get.
        try {
            apiInstance.beaconget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the beacon to get.
        try {
            apiInstance.beaconget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the beacon to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a beacon profile
[apiInstance beacongetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the beacon to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.beaconget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class beacongetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the beacon to get. (default to null)

            try
            {
                // View details of a beacon profile
                apiInstance.beaconget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.beaconget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the beacon to get.

try {
    $api_instance->beaconget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->beaconget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the beacon to get.

eval { 
    $api_instance->beaconget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->beaconget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the beacon to get. (default to null)

try: 
    # View details of a beacon profile
    api_instance.beaconget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->beaconget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.beaconget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the beacon to get.
Required

Responses


beacongetlocations

Get the sign-in stations assigned to specific beacons.


/beacongetlocations

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/beacongetlocations?token=&beacons="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String beacons = beacons_example; // String | A JSON array containg the beacons data (region, minor and major) values.
        try {
            apiInstance.beacongetlocations(token, beacons);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beacongetlocations");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String beacons = beacons_example; // String | A JSON array containg the beacons data (region, minor and major) values.
        try {
            apiInstance.beacongetlocations(token, beacons);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beacongetlocations");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *beacons = beacons_example; // A JSON array containg the beacons data (region, minor and major) values. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get the sign-in stations assigned to specific beacons.
[apiInstance beacongetlocationsWith:token
    beacons:beacons
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var beacons = beacons_example; // {String} A JSON array containg the beacons data (region, minor and major) values.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.beacongetlocations(token, beacons, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class beacongetlocationsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var beacons = beacons_example;  // String | A JSON array containg the beacons data (region, minor and major) values. (default to null)

            try
            {
                // Get the sign-in stations assigned to specific beacons.
                apiInstance.beacongetlocations(token, beacons);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.beacongetlocations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$beacons = beacons_example; // String | A JSON array containg the beacons data (region, minor and major) values.

try {
    $api_instance->beacongetlocations($token, $beacons);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->beacongetlocations: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $beacons = beacons_example; # String | A JSON array containg the beacons data (region, minor and major) values.

eval { 
    $api_instance->beacongetlocations(token => $token, beacons => $beacons);
};
if ($@) {
    warn "Exception when calling DefaultApi->beacongetlocations: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
beacons = beacons_example # String | A JSON array containg the beacons data (region, minor and major) values. (default to null)

try: 
    # Get the sign-in stations assigned to specific beacons.
    api_instance.beacongetlocations(token, beacons)
except ApiException as e:
    print("Exception when calling DefaultApi->beacongetlocations: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let beacons = beacons_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.beacongetlocations(token, beacons, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
beacons*
String
A JSON array containg the beacons data (region, minor and major) values.
Required

Responses


beacongetstationlocation

Get the location settings in the specified sign-in station.


/beacongetstationlocation

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/beacongetstationlocation?token=&station=&location="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station whose location information has to be retrieved.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location whose information has to be retrieved.
        try {
            apiInstance.beacongetstationlocation(token, station, location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beacongetstationlocation");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station whose location information has to be retrieved.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location whose information has to be retrieved.
        try {
            apiInstance.beacongetstationlocation(token, station, location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beacongetstationlocation");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station whose location information has to be retrieved. (default to null)
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location whose information has to be retrieved. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get the location settings in the specified sign-in station.
[apiInstance beacongetstationlocationWith:token
    station:station
    location:location
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station whose location information has to be retrieved.
var location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location whose information has to be retrieved.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.beacongetstationlocation(token, station, location, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class beacongetstationlocationExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var station = new UUID(); // UUID | The id of the sign-in station whose location information has to be retrieved. (default to null)
            var location = new UUID(); // UUID | The id of the location whose information has to be retrieved. (default to null)

            try
            {
                // Get the location settings in the specified sign-in station.
                apiInstance.beacongetstationlocation(token, station, location);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.beacongetstationlocation: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station whose location information has to be retrieved.
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location whose information has to be retrieved.

try {
    $api_instance->beacongetstationlocation($token, $station, $location);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->beacongetstationlocation: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station whose location information has to be retrieved.
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location whose information has to be retrieved.

eval { 
    $api_instance->beacongetstationlocation(token => $token, station => $station, location => $location);
};
if ($@) {
    warn "Exception when calling DefaultApi->beacongetstationlocation: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
station = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station whose location information has to be retrieved. (default to null)
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location whose information has to be retrieved. (default to null)

try: 
    # Get the location settings in the specified sign-in station.
    api_instance.beacongetstationlocation(token, station, location)
except ApiException as e:
    print("Exception when calling DefaultApi->beacongetstationlocation: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.beacongetstationlocation(token, station, location, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
station*
UUID (uuid)
The id of the sign-in station whose location information has to be retrieved.
Required
location*
UUID (uuid)
The id of the location whose information has to be retrieved.
Required

Responses


beacongetuuid

View the identifier for the account's beacon region (for sign-in stations).


/beacongetuuid

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/beacongetuuid?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.beacongetuuid(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beacongetuuid");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.beacongetuuid(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beacongetuuid");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View the identifier for the account's beacon region (for sign-in stations).
[apiInstance beacongetuuidWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.beacongetuuid(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class beacongetuuidExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View the identifier for the account's beacon region (for sign-in stations).
                apiInstance.beacongetuuid(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.beacongetuuid: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->beacongetuuid($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->beacongetuuid: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->beacongetuuid(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->beacongetuuid: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View the identifier for the account's beacon region (for sign-in stations).
    api_instance.beacongetuuid(token)
except ApiException as e:
    print("Exception when calling DefaultApi->beacongetuuid: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.beacongetuuid(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


beaconlist

View a list of beacon profiles

Allows the user to view the list of all beacon profiles without their basic details.


/beaconlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/beaconlist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.beaconlist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.beaconlist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of beacon profiles
[apiInstance beaconlistWith:token
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.beaconlist(token, from, count, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class beaconlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)

            try
            {
                // View a list of beacon profiles
                apiInstance.beaconlist(token, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.beaconlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->beaconlist($token, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->beaconlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->beaconlist(token => $token, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->beaconlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)

try: 
    # View a list of beacon profiles
    api_instance.beaconlist(token, from, count)
except ApiException as e:
    print("Exception when calling DefaultApi->beaconlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.beaconlist(token, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


beaconlistprofiles

View a list of beacon profiles with their characteristics

Allows the user to view the list of all beacon profiles with their basic details.


/beaconlistprofiles

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/beaconlistprofiles?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.beaconlistprofiles(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconlistprofiles");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.beaconlistprofiles(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconlistprofiles");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of beacon profiles with their characteristics
[apiInstance beaconlistprofilesWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.beaconlistprofiles(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class beaconlistprofilesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View a list of beacon profiles with their characteristics
                apiInstance.beaconlistprofiles(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.beaconlistprofiles: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->beaconlistprofiles($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->beaconlistprofiles: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->beaconlistprofiles(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->beaconlistprofiles: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View a list of beacon profiles with their characteristics
    api_instance.beaconlistprofiles(token)
except ApiException as e:
    print("Exception when calling DefaultApi->beaconlistprofiles: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.beaconlistprofiles(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


beaconresetuuid

Generate or reset the identifier for the account's beacon region.

Allows the user to reset the identifier for the beacon region, generally not necessary.


/beaconresetuuid

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/beaconresetuuid?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.beaconresetuuid(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconresetuuid");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.beaconresetuuid(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconresetuuid");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Generate or reset the identifier for the account's beacon region.
[apiInstance beaconresetuuidWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.beaconresetuuid(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class beaconresetuuidExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Generate or reset the identifier for the account's beacon region.
                apiInstance.beaconresetuuid(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.beaconresetuuid: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->beaconresetuuid($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->beaconresetuuid: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->beaconresetuuid(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->beaconresetuuid: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Generate or reset the identifier for the account's beacon region.
    api_instance.beaconresetuuid(token)
except ApiException as e:
    print("Exception when calling DefaultApi->beaconresetuuid: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.beaconresetuuid(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


beaconsave

Create or edit a beacon profile

Allows the user to create or edit a beacon profile.


/beaconsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/beaconsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.beaconsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.beaconsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a beacon profile
[apiInstance beaconsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.beaconsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class beaconsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a beacon profile
                apiInstance.beaconsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.beaconsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->beaconsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->beaconsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->beaconsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->beaconsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a beacon profile
    api_instance.beaconsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->beaconsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.beaconsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


beaconscanlocations

Check if there's location available to sign-in / out.


/beaconscanlocations

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/beaconscanlocations?token=&beacons="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String beacons = beacons_example; // String | A JSON array containg the beacons data (region, minor and major) values.
        try {
            apiInstance.beaconscanlocations(token, beacons);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconscanlocations");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String beacons = beacons_example; // String | A JSON array containg the beacons data (region, minor and major) values.
        try {
            apiInstance.beaconscanlocations(token, beacons);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconscanlocations");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *beacons = beacons_example; // A JSON array containg the beacons data (region, minor and major) values. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Check if there's location available to sign-in / out.
[apiInstance beaconscanlocationsWith:token
    beacons:beacons
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var beacons = beacons_example; // {String} A JSON array containg the beacons data (region, minor and major) values.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.beaconscanlocations(token, beacons, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class beaconscanlocationsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var beacons = beacons_example;  // String | A JSON array containg the beacons data (region, minor and major) values. (default to null)

            try
            {
                // Check if there's location available to sign-in / out.
                apiInstance.beaconscanlocations(token, beacons);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.beaconscanlocations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$beacons = beacons_example; // String | A JSON array containg the beacons data (region, minor and major) values.

try {
    $api_instance->beaconscanlocations($token, $beacons);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->beaconscanlocations: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $beacons = beacons_example; # String | A JSON array containg the beacons data (region, minor and major) values.

eval { 
    $api_instance->beaconscanlocations(token => $token, beacons => $beacons);
};
if ($@) {
    warn "Exception when calling DefaultApi->beaconscanlocations: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
beacons = beacons_example # String | A JSON array containg the beacons data (region, minor and major) values. (default to null)

try: 
    # Check if there's location available to sign-in / out.
    api_instance.beaconscanlocations(token, beacons)
except ApiException as e:
    print("Exception when calling DefaultApi->beaconscanlocations: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let beacons = beacons_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.beaconscanlocations(token, beacons, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
beacons*
String
A JSON array containg the beacons data (region, minor and major) values.
Required

Responses


beaconsetuuid

Set the identifier for the account's beacon region (for sign-in stations).

Allows the user to set the identifier for the account's beacon regions for sign-in stations, generally not necessary as each sign-in station profile generates its own region.


/beaconsetuuid

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/beaconsetuuid?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The custom region UUID.
        try {
            apiInstance.beaconsetuuid(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconsetuuid");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The custom region UUID.
        try {
            apiInstance.beaconsetuuid(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconsetuuid");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The custom region UUID. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Set the identifier for the account's beacon region (for sign-in stations).
[apiInstance beaconsetuuidWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The custom region UUID.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.beaconsetuuid(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class beaconsetuuidExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The custom region UUID. (default to null)

            try
            {
                // Set the identifier for the account's beacon region (for sign-in stations).
                apiInstance.beaconsetuuid(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.beaconsetuuid: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The custom region UUID.

try {
    $api_instance->beaconsetuuid($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->beaconsetuuid: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The custom region UUID.

eval { 
    $api_instance->beaconsetuuid(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->beaconsetuuid: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The custom region UUID. (default to null)

try: 
    # Set the identifier for the account's beacon region (for sign-in stations).
    api_instance.beaconsetuuid(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->beaconsetuuid: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.beaconsetuuid(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The custom region UUID.
Required

Responses


beaconsilentregions

View all the beacon regions defined for silent tracking


/beaconsilentregions

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/beaconsilentregions?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.beaconsilentregions(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconsilentregions");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.beaconsilentregions(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconsilentregions");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View all the beacon regions defined for silent tracking
[apiInstance beaconsilentregionsWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.beaconsilentregions(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class beaconsilentregionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View all the beacon regions defined for silent tracking
                apiInstance.beaconsilentregions(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.beaconsilentregions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->beaconsilentregions($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->beaconsilentregions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->beaconsilentregions(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->beaconsilentregions: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View all the beacon regions defined for silent tracking
    api_instance.beaconsilentregions(token)
except ApiException as e:
    print("Exception when calling DefaultApi->beaconsilentregions: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.beaconsilentregions(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


beaconsilentsignin

Sign-in silently from the location specified by a beacon


/beaconsilentsignin

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/beaconsilentsignin?token=&uuid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the region the user is in.
        try {
            apiInstance.beaconsilentsignin(token, uuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconsilentsignin");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the region the user is in.
        try {
            apiInstance.beaconsilentsignin(token, uuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconsilentsignin");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the region the user is in. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Sign-in silently from the location specified by a beacon
[apiInstance beaconsilentsigninWith:token
    uuid:uuid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the region the user is in.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.beaconsilentsignin(token, uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class beaconsilentsigninExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var uuid = new UUID(); // UUID | The id of the region the user is in. (default to null)

            try
            {
                // Sign-in silently from the location specified by a beacon
                apiInstance.beaconsilentsignin(token, uuid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.beaconsilentsignin: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the region the user is in.

try {
    $api_instance->beaconsilentsignin($token, $uuid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->beaconsilentsignin: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the region the user is in.

eval { 
    $api_instance->beaconsilentsignin(token => $token, uuid => $uuid);
};
if ($@) {
    warn "Exception when calling DefaultApi->beaconsilentsignin: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the region the user is in. (default to null)

try: 
    # Sign-in silently from the location specified by a beacon
    api_instance.beaconsilentsignin(token, uuid)
except ApiException as e:
    print("Exception when calling DefaultApi->beaconsilentsignin: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.beaconsilentsignin(token, uuid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
uuid*
UUID (uuid)
The id of the region the user is in.
Required

Responses


beaconsilentsignout

Sign-out silently from the location specified by a beacon


/beaconsilentsignout

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/beaconsilentsignout?token=&uuid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the region the user has left.
        try {
            apiInstance.beaconsilentsignout(token, uuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconsilentsignout");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the region the user has left.
        try {
            apiInstance.beaconsilentsignout(token, uuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#beaconsilentsignout");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the region the user has left. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Sign-out silently from the location specified by a beacon
[apiInstance beaconsilentsignoutWith:token
    uuid:uuid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the region the user has left.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.beaconsilentsignout(token, uuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class beaconsilentsignoutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var uuid = new UUID(); // UUID | The id of the region the user has left. (default to null)

            try
            {
                // Sign-out silently from the location specified by a beacon
                apiInstance.beaconsilentsignout(token, uuid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.beaconsilentsignout: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the region the user has left.

try {
    $api_instance->beaconsilentsignout($token, $uuid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->beaconsilentsignout: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the region the user has left.

eval { 
    $api_instance->beaconsilentsignout(token => $token, uuid => $uuid);
};
if ($@) {
    warn "Exception when calling DefaultApi->beaconsilentsignout: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the region the user has left. (default to null)

try: 
    # Sign-out silently from the location specified by a beacon
    api_instance.beaconsilentsignout(token, uuid)
except ApiException as e:
    print("Exception when calling DefaultApi->beaconsilentsignout: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let uuid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.beaconsilentsignout(token, uuid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
uuid*
UUID (uuid)
The id of the region the user has left.
Required

Responses


bgjobgetstatus

Get background job status


/bgjobgetstatus

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/bgjobgetstatus?token=&jobid=&jobtype="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID jobid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the job to get the status. 10 most recent will be returned if not specified.
        String jobtype = jobtype_example; // String | The job type to filter by.
        try {
            apiInstance.bgjobgetstatus(token, jobid, jobtype);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#bgjobgetstatus");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID jobid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the job to get the status. 10 most recent will be returned if not specified.
        String jobtype = jobtype_example; // String | The job type to filter by.
        try {
            apiInstance.bgjobgetstatus(token, jobid, jobtype);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#bgjobgetstatus");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *jobid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The ID of the job to get the status. 10 most recent will be returned if not specified. (optional) (default to null)
String *jobtype = jobtype_example; // The job type to filter by. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get background job status
[apiInstance bgjobgetstatusWith:token
    jobid:jobid
    jobtype:jobtype
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'jobid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The ID of the job to get the status. 10 most recent will be returned if not specified.
  'jobtype': jobtype_example // {String} The job type to filter by.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.bgjobgetstatus(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class bgjobgetstatusExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var jobid = new UUID(); // UUID | The ID of the job to get the status. 10 most recent will be returned if not specified. (optional)  (default to null)
            var jobtype = jobtype_example;  // String | The job type to filter by. (optional)  (default to null)

            try
            {
                // Get background job status
                apiInstance.bgjobgetstatus(token, jobid, jobtype);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.bgjobgetstatus: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$jobid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the job to get the status. 10 most recent will be returned if not specified.
$jobtype = jobtype_example; // String | The job type to filter by.

try {
    $api_instance->bgjobgetstatus($token, $jobid, $jobtype);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->bgjobgetstatus: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $jobid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The ID of the job to get the status. 10 most recent will be returned if not specified.
my $jobtype = jobtype_example; # String | The job type to filter by.

eval { 
    $api_instance->bgjobgetstatus(token => $token, jobid => $jobid, jobtype => $jobtype);
};
if ($@) {
    warn "Exception when calling DefaultApi->bgjobgetstatus: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
jobid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The ID of the job to get the status. 10 most recent will be returned if not specified. (optional) (default to null)
jobtype = jobtype_example # String | The job type to filter by. (optional) (default to null)

try: 
    # Get background job status
    api_instance.bgjobgetstatus(token, jobid=jobid, jobtype=jobtype)
except ApiException as e:
    print("Exception when calling DefaultApi->bgjobgetstatus: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let jobid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let jobtype = jobtype_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.bgjobgetstatus(token, jobid, jobtype, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
jobid
UUID (uuid)
The ID of the job to get the status. 10 most recent will be returned if not specified.
jobtype
String
The job type to filter by.

Responses


captchagetchallenge

Gets a captcha challenge that the user must complete to do certain requests.


/captchagetchallenge

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/captchagetchallenge"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.captchagetchallenge();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#captchagetchallenge");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.captchagetchallenge();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#captchagetchallenge");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets a captcha challenge that the user must complete to do certain requests.
[apiInstance captchagetchallengeWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.captchagetchallenge(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class captchagetchallengeExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                // Gets a captcha challenge that the user must complete to do certain requests.
                apiInstance.captchagetchallenge();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.captchagetchallenge: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $api_instance->captchagetchallenge();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->captchagetchallenge: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval { 
    $api_instance->captchagetchallenge();
};
if ($@) {
    warn "Exception when calling DefaultApi->captchagetchallenge: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()

try: 
    # Gets a captcha challenge that the user must complete to do certain requests.
    api_instance.captchagetchallenge()
except ApiException as e:
    print("Exception when calling DefaultApi->captchagetchallenge: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.captchagetchallenge(&context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Responses


captchagetimage

Gets a captcha image that the user must complete to do certain requests.


/captchagetimage

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/captchagetimage?captchatoken="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String captchatoken = captchatoken_example; // String | The captcha token or ID returned by the captcha.getchallenge action
        try {
            apiInstance.captchagetimage(captchatoken);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#captchagetimage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String captchatoken = captchatoken_example; // String | The captcha token or ID returned by the captcha.getchallenge action
        try {
            apiInstance.captchagetimage(captchatoken);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#captchagetimage");
            e.printStackTrace();
        }
    }
}
String *captchatoken = captchatoken_example; // The captcha token or ID returned by the captcha.getchallenge action (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets a captcha image that the user must complete to do certain requests.
[apiInstance captchagetimageWith:captchatoken
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var captchatoken = captchatoken_example; // {String} The captcha token or ID returned by the captcha.getchallenge action

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.captchagetimage(captchatoken, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class captchagetimageExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var captchatoken = captchatoken_example;  // String | The captcha token or ID returned by the captcha.getchallenge action (default to null)

            try
            {
                // Gets a captcha image that the user must complete to do certain requests.
                apiInstance.captchagetimage(captchatoken);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.captchagetimage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$captchatoken = captchatoken_example; // String | The captcha token or ID returned by the captcha.getchallenge action

try {
    $api_instance->captchagetimage($captchatoken);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->captchagetimage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $captchatoken = captchatoken_example; # String | The captcha token or ID returned by the captcha.getchallenge action

eval { 
    $api_instance->captchagetimage(captchatoken => $captchatoken);
};
if ($@) {
    warn "Exception when calling DefaultApi->captchagetimage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
captchatoken = captchatoken_example # String | The captcha token or ID returned by the captcha.getchallenge action (default to null)

try: 
    # Gets a captcha image that the user must complete to do certain requests.
    api_instance.captchagetimage(captchatoken)
except ApiException as e:
    print("Exception when calling DefaultApi->captchagetimage: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let captchatoken = captchatoken_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.captchagetimage(captchatoken, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
captchatoken*
String
The captcha token or ID returned by the captcha.getchallenge action
Required

Responses


changelog

Get the application change log


/changelog

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/changelog?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.changelog(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#changelog");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.changelog(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#changelog");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get the application change log
[apiInstance changelogWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.changelog(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class changelogExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Get the application change log
                apiInstance.changelog(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.changelog: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->changelog($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->changelog: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->changelog(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->changelog: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Get the application change log
    api_instance.changelog(token)
except ApiException as e:
    print("Exception when calling DefaultApi->changelog: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.changelog(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


clientget

Get client


/clientget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/clientget?token=&client=&clientname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String client = client_example; // String | The unique id of the client.
        String clientname = clientname_example; // String | The custom name of the client.
        try {
            apiInstance.clientget(token, client, clientname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clientget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String client = client_example; // String | The unique id of the client.
        String clientname = clientname_example; // String | The custom name of the client.
        try {
            apiInstance.clientget(token, client, clientname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clientget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *client = client_example; // The unique id of the client. (default to null)
String *clientname = clientname_example; // The custom name of the client. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get client
[apiInstance clientgetWith:token
    client:client
    clientname:clientname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var client = client_example; // {String} The unique id of the client.
var opts = {
  'clientname': clientname_example // {String} The custom name of the client.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.clientget(token, client, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class clientgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var client = client_example;  // String | The unique id of the client. (default to null)
            var clientname = clientname_example;  // String | The custom name of the client. (optional)  (default to null)

            try
            {
                // Get client
                apiInstance.clientget(token, client, clientname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.clientget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$client = client_example; // String | The unique id of the client.
$clientname = clientname_example; // String | The custom name of the client.

try {
    $api_instance->clientget($token, $client, $clientname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->clientget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $client = client_example; # String | The unique id of the client.
my $clientname = clientname_example; # String | The custom name of the client.

eval { 
    $api_instance->clientget(token => $token, client => $client, clientname => $clientname);
};
if ($@) {
    warn "Exception when calling DefaultApi->clientget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
client = client_example # String | The unique id of the client. (default to null)
clientname = clientname_example # String | The custom name of the client. (optional) (default to null)

try: 
    # Get client
    api_instance.clientget(token, client, clientname=clientname)
except ApiException as e:
    print("Exception when calling DefaultApi->clientget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let client = client_example; // String
    let clientname = clientname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.clientget(token, client, clientname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
client*
String
The unique id of the client.
Required
clientname
String
The custom name of the client.

Responses


clientlist

Gets the clients of the specified conference


/clientlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/clientlist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.clientlist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clientlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.clientlist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clientlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the clients of the specified conference
[apiInstance clientlistWith:token
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.clientlist(token, from, count, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class clientlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)

            try
            {
                // Gets the clients of the specified conference
                apiInstance.clientlist(token, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.clientlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->clientlist($token, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->clientlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->clientlist(token => $token, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->clientlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)

try: 
    # Gets the clients of the specified conference
    api_instance.clientlist(token, from, count)
except ApiException as e:
    print("Exception when calling DefaultApi->clientlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.clientlist(token, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


clientsave

Saves a client


/clientsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/clientsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.clientsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clientsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.clientsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clientsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Saves a client
[apiInstance clientsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.clientsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class clientsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Saves a client
                apiInstance.clientsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.clientsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->clientsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->clientsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->clientsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->clientsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Saves a client
    api_instance.clientsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->clientsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.clientsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


clientsendmessage

Send a message to a client


/clientsendmessage

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/clientsendmessage?token=&uniqueclientid=&message="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID uniqueclientid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The unique id of the client.
        String message = message_example; // String | The body of the message to send.
        try {
            apiInstance.clientsendmessage(token, uniqueclientid, message);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clientsendmessage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID uniqueclientid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The unique id of the client.
        String message = message_example; // String | The body of the message to send.
        try {
            apiInstance.clientsendmessage(token, uniqueclientid, message);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clientsendmessage");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *uniqueclientid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The unique id of the client. (default to null)
String *message = message_example; // The body of the message to send. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Send a message to a client
[apiInstance clientsendmessageWith:token
    uniqueclientid:uniqueclientid
    message:message
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var uniqueclientid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The unique id of the client.
var message = message_example; // {String} The body of the message to send.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.clientsendmessage(token, uniqueclientid, message, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class clientsendmessageExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var uniqueclientid = new UUID(); // UUID | The unique id of the client. (default to null)
            var message = message_example;  // String | The body of the message to send. (default to null)

            try
            {
                // Send a message to a client
                apiInstance.clientsendmessage(token, uniqueclientid, message);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.clientsendmessage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$uniqueclientid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The unique id of the client.
$message = message_example; // String | The body of the message to send.

try {
    $api_instance->clientsendmessage($token, $uniqueclientid, $message);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->clientsendmessage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $uniqueclientid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The unique id of the client.
my $message = message_example; # String | The body of the message to send.

eval { 
    $api_instance->clientsendmessage(token => $token, uniqueclientid => $uniqueclientid, message => $message);
};
if ($@) {
    warn "Exception when calling DefaultApi->clientsendmessage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
uniqueclientid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The unique id of the client. (default to null)
message = message_example # String | The body of the message to send. (default to null)

try: 
    # Send a message to a client
    api_instance.clientsendmessage(token, uniqueclientid, message)
except ApiException as e:
    print("Exception when calling DefaultApi->clientsendmessage: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let uniqueclientid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let message = message_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.clientsendmessage(token, uniqueclientid, message, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
uniqueclientid*
UUID (uuid)
The unique id of the client.
Required
message*
String
The body of the message to send.
Required

Responses


communityinvite

Sends an invitation to everyone to AccuCampus Communities

Allows the user to invite all other users to the AccuCampus Communities.


/communityinvite

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/communityinvite?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.communityinvite(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#communityinvite");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.communityinvite(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#communityinvite");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Sends an invitation to everyone to AccuCampus Communities
[apiInstance communityinviteWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.communityinvite(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class communityinviteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Sends an invitation to everyone to AccuCampus Communities
                apiInstance.communityinvite(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.communityinvite: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->communityinvite($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->communityinvite: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->communityinvite(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->communityinvite: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Sends an invitation to everyone to AccuCampus Communities
    api_instance.communityinvite(token)
except ApiException as e:
    print("Exception when calling DefaultApi->communityinvite: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.communityinvite(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


communityjoin

Sends an invitation for myself to AccuCampus Communities

Allows the user to access the AccuCampus Communities.


/communityjoin

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/communityjoin?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.communityjoin(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#communityjoin");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.communityjoin(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#communityjoin");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Sends an invitation for myself to AccuCampus Communities
[apiInstance communityjoinWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.communityjoin(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class communityjoinExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Sends an invitation for myself to AccuCampus Communities
                apiInstance.communityjoin(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.communityjoin: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->communityjoin($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->communityjoin: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->communityjoin(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->communityjoin: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Sends an invitation for myself to AccuCampus Communities
    api_instance.communityjoin(token)
except ApiException as e:
    print("Exception when calling DefaultApi->communityjoin: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.communityjoin(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


compasscategorydelete

Delete a compass category

Allows the user to delete an existing compass category.


/compasscategorydelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/compasscategorydelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the category to delete.
        try {
            apiInstance.compasscategorydelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#compasscategorydelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the category to delete.
        try {
            apiInstance.compasscategorydelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#compasscategorydelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the category to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a compass category
[apiInstance compasscategorydeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the category to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.compasscategorydelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class compasscategorydeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the category to delete. (default to null)

            try
            {
                // Delete a compass category
                apiInstance.compasscategorydelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.compasscategorydelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the category to delete.

try {
    $api_instance->compasscategorydelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->compasscategorydelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the category to delete.

eval { 
    $api_instance->compasscategorydelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->compasscategorydelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the category to delete. (default to null)

try: 
    # Delete a compass category
    api_instance.compasscategorydelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->compasscategorydelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.compasscategorydelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the category to delete.
Required

Responses


compasscategoryget

View details of a compass category

Allows the user to view an indvidiaul compass category and its details.


/compasscategoryget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/compasscategoryget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the category to get.
        try {
            apiInstance.compasscategoryget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#compasscategoryget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the category to get.
        try {
            apiInstance.compasscategoryget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#compasscategoryget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the category to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a compass category
[apiInstance compasscategorygetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the category to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.compasscategoryget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class compasscategorygetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the category to get. (default to null)

            try
            {
                // View details of a compass category
                apiInstance.compasscategoryget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.compasscategoryget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the category to get.

try {
    $api_instance->compasscategoryget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->compasscategoryget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the category to get.

eval { 
    $api_instance->compasscategoryget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->compasscategoryget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the category to get. (default to null)

try: 
    # View details of a compass category
    api_instance.compasscategoryget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->compasscategoryget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.compasscategoryget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the category to get.
Required

Responses


compasscategorylist

View a list of compass categories

Allows the user to view the full list of compass categories.


/compasscategorylist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/compasscategorylist?token=&from=&count=&onlywithservices="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Boolean onlywithservices = true; // Boolean | Specified whether only categories with services are returned or all.
        try {
            apiInstance.compasscategorylist(token, from, count, onlywithservices);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#compasscategorylist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Boolean onlywithservices = true; // Boolean | Specified whether only categories with services are returned or all.
        try {
            apiInstance.compasscategorylist(token, from, count, onlywithservices);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#compasscategorylist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (optional) (default to null)
Integer *count = 56; // The max number of records to return. (optional) (default to null)
Boolean *onlywithservices = true; // Specified whether only categories with services are returned or all. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of compass categories
[apiInstance compasscategorylistWith:token
    from:from
    count:count
    onlywithservices:onlywithservices
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'from': 56, // {Integer} The first record to return.
  'count': 56, // {Integer} The max number of records to return.
  'onlywithservices': true // {Boolean} Specified whether only categories with services are returned or all.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.compasscategorylist(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class compasscategorylistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (optional)  (default to null)
            var count = 56;  // Integer | The max number of records to return. (optional)  (default to null)
            var onlywithservices = true;  // Boolean | Specified whether only categories with services are returned or all. (optional)  (default to null)

            try
            {
                // View a list of compass categories
                apiInstance.compasscategorylist(token, from, count, onlywithservices);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.compasscategorylist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$onlywithservices = true; // Boolean | Specified whether only categories with services are returned or all.

try {
    $api_instance->compasscategorylist($token, $from, $count, $onlywithservices);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->compasscategorylist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $onlywithservices = true; # Boolean | Specified whether only categories with services are returned or all.

eval { 
    $api_instance->compasscategorylist(token => $token, from => $from, count => $count, onlywithservices => $onlywithservices);
};
if ($@) {
    warn "Exception when calling DefaultApi->compasscategorylist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (optional) (default to null)
count = 56 # Integer | The max number of records to return. (optional) (default to null)
onlywithservices = true # Boolean | Specified whether only categories with services are returned or all. (optional) (default to null)

try: 
    # View a list of compass categories
    api_instance.compasscategorylist(token, from=from, count=count, onlywithservices=onlywithservices)
except ApiException as e:
    print("Exception when calling DefaultApi->compasscategorylist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let onlywithservices = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.compasscategorylist(token, from, count, onlywithservices, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from
Integer (int32)
The first record to return.
count
Integer (int32)
The max number of records to return.
onlywithservices
Boolean
Specified whether only categories with services are returned or all.

Responses


compasscategorysave

Create or edit a compass category

Allows the user to create or edit a compass category.


/compasscategorysave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/compasscategorysave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.compasscategorysave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#compasscategorysave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.compasscategorysave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#compasscategorysave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a compass category
[apiInstance compasscategorysaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.compasscategorysave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class compasscategorysaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a compass category
                apiInstance.compasscategorysave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.compasscategorysave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->compasscategorysave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->compasscategorysave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->compasscategorysave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->compasscategorysave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a compass category
    api_instance.compasscategorysave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->compasscategorysave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.compasscategorysave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


compassservicelist

View all the services added to the compass


/compassservicelist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/compassservicelist?token=&category="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID category = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the category to filter the services.
        try {
            apiInstance.compassservicelist(token, category);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#compassservicelist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID category = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the category to filter the services.
        try {
            apiInstance.compassservicelist(token, category);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#compassservicelist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *category = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the category to filter the services. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View all the services added to the compass
[apiInstance compassservicelistWith:token
    category:category
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'category': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} The id of the category to filter the services.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.compassservicelist(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class compassservicelistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var category = new UUID(); // UUID | The id of the category to filter the services. (optional)  (default to null)

            try
            {
                // View all the services added to the compass
                apiInstance.compassservicelist(token, category);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.compassservicelist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$category = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the category to filter the services.

try {
    $api_instance->compassservicelist($token, $category);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->compassservicelist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $category = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the category to filter the services.

eval { 
    $api_instance->compassservicelist(token => $token, category => $category);
};
if ($@) {
    warn "Exception when calling DefaultApi->compassservicelist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
category = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the category to filter the services. (optional) (default to null)

try: 
    # View all the services added to the compass
    api_instance.compassservicelist(token, category=category)
except ApiException as e:
    print("Exception when calling DefaultApi->compassservicelist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let category = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.compassservicelist(token, category, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
category
UUID (uuid)
The id of the category to filter the services.

Responses


compassservicelistlocations

View all the locations where a service added to the compass is available


/compassservicelistlocations

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/compassservicelistlocations?token=&serviceid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to get its locations.
        try {
            apiInstance.compassservicelistlocations(token, serviceid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#compassservicelistlocations");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to get its locations.
        try {
            apiInstance.compassservicelistlocations(token, serviceid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#compassservicelistlocations");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the service to get its locations. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View all the locations where a service added to the compass is available
[apiInstance compassservicelistlocationsWith:token
    serviceid:serviceid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the service to get its locations.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.compassservicelistlocations(token, serviceid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class compassservicelistlocationsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var serviceid = new UUID(); // UUID | The id of the service to get its locations. (default to null)

            try
            {
                // View all the locations where a service added to the compass is available
                apiInstance.compassservicelistlocations(token, serviceid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.compassservicelistlocations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to get its locations.

try {
    $api_instance->compassservicelistlocations($token, $serviceid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->compassservicelistlocations: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the service to get its locations.

eval { 
    $api_instance->compassservicelistlocations(token => $token, serviceid => $serviceid);
};
if ($@) {
    warn "Exception when calling DefaultApi->compassservicelistlocations: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the service to get its locations. (default to null)

try: 
    # View all the locations where a service added to the compass is available
    api_instance.compassservicelistlocations(token, serviceid)
except ApiException as e:
    print("Exception when calling DefaultApi->compassservicelistlocations: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.compassservicelistlocations(token, serviceid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
serviceid*
UUID (uuid)
The id of the service to get its locations.
Required

Responses


computerlabdeletecomputer

Delete a computer

Allows the user to delete an existing computer.


/computerlabdeletecomputer

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/computerlabdeletecomputer?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String id = id_example; // String | The unique device id of the computer to delete.
        try {
            apiInstance.computerlabdeletecomputer(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlabdeletecomputer");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String id = id_example; // String | The unique device id of the computer to delete.
        try {
            apiInstance.computerlabdeletecomputer(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlabdeletecomputer");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *id = id_example; // The unique device id of the computer to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a computer
[apiInstance computerlabdeletecomputerWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = id_example; // {String} The unique device id of the computer to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.computerlabdeletecomputer(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class computerlabdeletecomputerExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = id_example;  // String | The unique device id of the computer to delete. (default to null)

            try
            {
                // Delete a computer
                apiInstance.computerlabdeletecomputer(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.computerlabdeletecomputer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = id_example; // String | The unique device id of the computer to delete.

try {
    $api_instance->computerlabdeletecomputer($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->computerlabdeletecomputer: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = id_example; # String | The unique device id of the computer to delete.

eval { 
    $api_instance->computerlabdeletecomputer(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->computerlabdeletecomputer: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = id_example # String | The unique device id of the computer to delete. (default to null)

try: 
    # Delete a computer
    api_instance.computerlabdeletecomputer(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->computerlabdeletecomputer: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.computerlabdeletecomputer(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
String
The unique device id of the computer to delete.
Required

Responses


computerlabgetcomputer

Search and view details of a computer

Allows the user to search and view an individual computer and its details.


/computerlabgetcomputer

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/computerlabgetcomputer?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String id = id_example; // String | The unique device id of the computer to get.
        try {
            apiInstance.computerlabgetcomputer(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlabgetcomputer");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String id = id_example; // String | The unique device id of the computer to get.
        try {
            apiInstance.computerlabgetcomputer(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlabgetcomputer");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *id = id_example; // The unique device id of the computer to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of a computer
[apiInstance computerlabgetcomputerWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = id_example; // {String} The unique device id of the computer to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.computerlabgetcomputer(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class computerlabgetcomputerExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = id_example;  // String | The unique device id of the computer to get. (default to null)

            try
            {
                // Search and view details of a computer
                apiInstance.computerlabgetcomputer(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.computerlabgetcomputer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = id_example; // String | The unique device id of the computer to get.

try {
    $api_instance->computerlabgetcomputer($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->computerlabgetcomputer: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = id_example; # String | The unique device id of the computer to get.

eval { 
    $api_instance->computerlabgetcomputer(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->computerlabgetcomputer: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = id_example # String | The unique device id of the computer to get. (default to null)

try: 
    # Search and view details of a computer
    api_instance.computerlabgetcomputer(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->computerlabgetcomputer: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.computerlabgetcomputer(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
String
The unique device id of the computer to get.
Required

Responses


computerlabgetsettings

Loads the settings for a computer lab

Loads the settings for a computer lab.


/computerlabgetsettings

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/computerlabgetsettings?id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the computer lab/location.
        try {
            apiInstance.computerlabgetsettings(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlabgetsettings");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the computer lab/location.
        try {
            apiInstance.computerlabgetsettings(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlabgetsettings");
            e.printStackTrace();
        }
    }
}
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the computer lab/location. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Loads the settings for a computer lab
[apiInstance computerlabgetsettingsWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the computer lab/location.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.computerlabgetsettings(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class computerlabgetsettingsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var id = new UUID(); // UUID | The id of the computer lab/location. (default to null)

            try
            {
                // Loads the settings for a computer lab
                apiInstance.computerlabgetsettings(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.computerlabgetsettings: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the computer lab/location.

try {
    $api_instance->computerlabgetsettings($id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->computerlabgetsettings: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the computer lab/location.

eval { 
    $api_instance->computerlabgetsettings(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->computerlabgetsettings: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the computer lab/location. (default to null)

try: 
    # Loads the settings for a computer lab
    api_instance.computerlabgetsettings(id)
except ApiException as e:
    print("Exception when calling DefaultApi->computerlabgetsettings: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.computerlabgetsettings(id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
id*
UUID (uuid)
The id of the computer lab/location.
Required

Responses


computerlabissignedin

Gets whether a user is signed-in or not.


/computerlabissignedin

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/computerlabissignedin?station=&user="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        String user = user_example; // String | The card of the user.
        try {
            apiInstance.computerlabissignedin(station, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlabissignedin");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        String user = user_example; // String | The card of the user.
        try {
            apiInstance.computerlabissignedin(station, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlabissignedin");
            e.printStackTrace();
        }
    }
}
UUID *station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station to get. (default to null)
String *user = user_example; // The card of the user. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets whether a user is signed-in or not.
[apiInstance computerlabissignedinWith:station
    user:user
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station to get.
var user = user_example; // {String} The card of the user.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.computerlabissignedin(station, user, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class computerlabissignedinExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var station = new UUID(); // UUID | The id of the sign-in station to get. (default to null)
            var user = user_example;  // String | The card of the user. (default to null)

            try
            {
                // Gets whether a user is signed-in or not.
                apiInstance.computerlabissignedin(station, user);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.computerlabissignedin: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
$user = user_example; // String | The card of the user.

try {
    $api_instance->computerlabissignedin($station, $user);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->computerlabissignedin: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station to get.
my $user = user_example; # String | The card of the user.

eval { 
    $api_instance->computerlabissignedin(station => $station, user => $user);
};
if ($@) {
    warn "Exception when calling DefaultApi->computerlabissignedin: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
station = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station to get. (default to null)
user = user_example # String | The card of the user. (default to null)

try: 
    # Gets whether a user is signed-in or not.
    api_instance.computerlabissignedin(station, user)
except ApiException as e:
    print("Exception when calling DefaultApi->computerlabissignedin: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let user = user_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.computerlabissignedin(station, user, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
station*
UUID (uuid)
The id of the sign-in station to get.
Required
user*
String
The card of the user.
Required

Responses


computerlablistcomputers

View a list of computers

Allows the user to view the list of all computers.


/computerlablistcomputers

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/computerlablistcomputers?token=&from=&count=&location=&freeonly="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location whose computers have to be returned.
        Boolean freeonly = true; // Boolean | If true, only free computers will be returned.
        try {
            apiInstance.computerlablistcomputers(token, from, count, location, freeonly);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlablistcomputers");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location whose computers have to be returned.
        Boolean freeonly = true; // Boolean | If true, only free computers will be returned.
        try {
            apiInstance.computerlablistcomputers(token, from, count, location, freeonly);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlablistcomputers");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location whose computers have to be returned. (optional) (default to null)
Boolean *freeonly = true; // If true, only free computers will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of computers
[apiInstance computerlablistcomputersWith:token
    from:from
    count:count
    location:location
    freeonly:freeonly
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'location': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the location whose computers have to be returned.
  'freeonly': true // {Boolean} If true, only free computers will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.computerlablistcomputers(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class computerlablistcomputersExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var location = new UUID(); // UUID | The id of the location whose computers have to be returned. (optional)  (default to null)
            var freeonly = true;  // Boolean | If true, only free computers will be returned. (optional)  (default to null)

            try
            {
                // View a list of computers
                apiInstance.computerlablistcomputers(token, from, count, location, freeonly);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.computerlablistcomputers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location whose computers have to be returned.
$freeonly = true; // Boolean | If true, only free computers will be returned.

try {
    $api_instance->computerlablistcomputers($token, $from, $count, $location, $freeonly);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->computerlablistcomputers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location whose computers have to be returned.
my $freeonly = true; # Boolean | If true, only free computers will be returned.

eval { 
    $api_instance->computerlablistcomputers(token => $token, from => $from, count => $count, location => $location, freeonly => $freeonly);
};
if ($@) {
    warn "Exception when calling DefaultApi->computerlablistcomputers: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location whose computers have to be returned. (optional) (default to null)
freeonly = true # Boolean | If true, only free computers will be returned. (optional) (default to null)

try: 
    # View a list of computers
    api_instance.computerlablistcomputers(token, from, count, location=location, freeonly=freeonly)
except ApiException as e:
    print("Exception when calling DefaultApi->computerlablistcomputers: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let freeonly = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.computerlablistcomputers(token, from, count, location, freeonly, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
location
UUID (uuid)
The id of the location whose computers have to be returned.
freeonly
Boolean
If true, only free computers will be returned.

Responses


computerlablistlabs

View a list of the locations that use the Computer Lab add-on

Allows the user to view the list of all labs.


/computerlablistlabs

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/computerlablistlabs?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.computerlablistlabs(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlablistlabs");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.computerlablistlabs(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlablistlabs");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of the locations that use the Computer Lab add-on
[apiInstance computerlablistlabsWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.computerlablistlabs(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class computerlablistlabsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View a list of the locations that use the Computer Lab add-on
                apiInstance.computerlablistlabs(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.computerlablistlabs: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->computerlablistlabs($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->computerlablistlabs: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->computerlablistlabs(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->computerlablistlabs: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View a list of the locations that use the Computer Lab add-on
    api_instance.computerlablistlabs(token)
except ApiException as e:
    print("Exception when calling DefaultApi->computerlablistlabs: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.computerlablistlabs(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


computerlabliststations

View a list of sign-in stations available for computer labs.

Allows the user to view the list of sign-in stations that are available for computer labs.


/computerlabliststations

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/computerlabliststations?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.computerlabliststations(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlabliststations");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.computerlabliststations(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlabliststations");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of sign-in stations available for computer labs.
[apiInstance computerlabliststationsWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.computerlabliststations(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class computerlabliststationsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View a list of sign-in stations available for computer labs.
                apiInstance.computerlabliststations(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.computerlabliststations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->computerlabliststations($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->computerlabliststations: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->computerlabliststations(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->computerlabliststations: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View a list of sign-in stations available for computer labs.
    api_instance.computerlabliststations(token)
except ApiException as e:
    print("Exception when calling DefaultApi->computerlabliststations: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.computerlabliststations(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


computerlabsavecomputer

Create or edit a computer

Allows the user to create or edit a computer.


/computerlabsavecomputer

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/computerlabsavecomputer"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.computerlabsavecomputer(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlabsavecomputer");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.computerlabsavecomputer(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlabsavecomputer");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a computer
[apiInstance computerlabsavecomputerWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.computerlabsavecomputer(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class computerlabsavecomputerExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a computer
                apiInstance.computerlabsavecomputer(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.computerlabsavecomputer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->computerlabsavecomputer($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->computerlabsavecomputer: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->computerlabsavecomputer(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->computerlabsavecomputer: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a computer
    api_instance.computerlabsavecomputer(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->computerlabsavecomputer: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.computerlabsavecomputer(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


computerlabsavesettings

Saves the settings for a computer lab

Saves the settings for a computer lab.


/computerlabsavesettings

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/computerlabsavesettings"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.computerlabsavesettings(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlabsavesettings");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.computerlabsavesettings(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlabsavesettings");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Saves the settings for a computer lab
[apiInstance computerlabsavesettingsWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.computerlabsavesettings(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class computerlabsavesettingsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Saves the settings for a computer lab
                apiInstance.computerlabsavesettings(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.computerlabsavesettings: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->computerlabsavesettings($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->computerlabsavesettings: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->computerlabsavesettings(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->computerlabsavesettings: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Saves the settings for a computer lab
    api_instance.computerlabsavesettings(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->computerlabsavesettings: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.computerlabsavesettings(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


computerlabsaveswipe

Save a new swipe from a computer in a computer lab.


/computerlabsaveswipe

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/computerlabsaveswipe"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.computerlabsaveswipe(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlabsaveswipe");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.computerlabsaveswipe(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#computerlabsaveswipe");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Save a new swipe from a computer in a computer lab.
[apiInstance computerlabsaveswipeWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.computerlabsaveswipe(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class computerlabsaveswipeExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Save a new swipe from a computer in a computer lab.
                apiInstance.computerlabsaveswipe(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.computerlabsaveswipe: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->computerlabsaveswipe($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->computerlabsaveswipe: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->computerlabsaveswipe(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->computerlabsaveswipe: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Save a new swipe from a computer in a computer lab.
    api_instance.computerlabsaveswipe(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->computerlabsaveswipe: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.computerlabsaveswipe(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


deadendrecordingdelete

Deletes a dead-end record group

Allows the user to delete a dead end record group.


/deadendrecordingdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/deadendrecordingdelete?token=&hierarchykey="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String hierarchykey = hierarchykey_example; // String | The hierarchy key of the record to delete.
        try {
            apiInstance.deadendrecordingdelete(token, hierarchykey);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deadendrecordingdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String hierarchykey = hierarchykey_example; // String | The hierarchy key of the record to delete.
        try {
            apiInstance.deadendrecordingdelete(token, hierarchykey);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deadendrecordingdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *hierarchykey = hierarchykey_example; // The hierarchy key of the record to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Deletes a dead-end record group
[apiInstance deadendrecordingdeleteWith:token
    hierarchykey:hierarchykey
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var hierarchykey = hierarchykey_example; // {String} The hierarchy key of the record to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deadendrecordingdelete(token, hierarchykey, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class deadendrecordingdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var hierarchykey = hierarchykey_example;  // String | The hierarchy key of the record to delete. (default to null)

            try
            {
                // Deletes a dead-end record group
                apiInstance.deadendrecordingdelete(token, hierarchykey);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.deadendrecordingdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$hierarchykey = hierarchykey_example; // String | The hierarchy key of the record to delete.

try {
    $api_instance->deadendrecordingdelete($token, $hierarchykey);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->deadendrecordingdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $hierarchykey = hierarchykey_example; # String | The hierarchy key of the record to delete.

eval { 
    $api_instance->deadendrecordingdelete(token => $token, hierarchykey => $hierarchykey);
};
if ($@) {
    warn "Exception when calling DefaultApi->deadendrecordingdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
hierarchykey = hierarchykey_example # String | The hierarchy key of the record to delete. (default to null)

try: 
    # Deletes a dead-end record group
    api_instance.deadendrecordingdelete(token, hierarchykey)
except ApiException as e:
    print("Exception when calling DefaultApi->deadendrecordingdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let hierarchykey = hierarchykey_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.deadendrecordingdelete(token, hierarchykey, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
hierarchykey*
String
The hierarchy key of the record to delete.
Required

Responses


deadendrecordinglist

Lists the recorded dead ends, if enabled

Allows the user to view the list of dead ends, provided dead end recording is enabled for the account.


/deadendrecordinglist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/deadendrecordinglist?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.deadendrecordinglist(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deadendrecordinglist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.deadendrecordinglist(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deadendrecordinglist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists the recorded dead ends, if enabled
[apiInstance deadendrecordinglistWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deadendrecordinglist(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class deadendrecordinglistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Lists the recorded dead ends, if enabled
                apiInstance.deadendrecordinglist(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.deadendrecordinglist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->deadendrecordinglist($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->deadendrecordinglist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->deadendrecordinglist(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->deadendrecordinglist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Lists the recorded dead ends, if enabled
    api_instance.deadendrecordinglist(token)
except ApiException as e:
    print("Exception when calling DefaultApi->deadendrecordinglist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.deadendrecordinglist(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


deadendrecordinglistcomments

Lists the comments for a specific dead end

Allows the user to view the comments made on dead end sessions.


/deadendrecordinglistcomments

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/deadendrecordinglistcomments?token=&hierarchykey="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String hierarchykey = hierarchykey_example; // String | The hierarchy key of the record to get the feedback.
        try {
            apiInstance.deadendrecordinglistcomments(token, hierarchykey);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deadendrecordinglistcomments");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String hierarchykey = hierarchykey_example; // String | The hierarchy key of the record to get the feedback.
        try {
            apiInstance.deadendrecordinglistcomments(token, hierarchykey);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deadendrecordinglistcomments");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *hierarchykey = hierarchykey_example; // The hierarchy key of the record to get the feedback. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists the comments for a specific dead end
[apiInstance deadendrecordinglistcommentsWith:token
    hierarchykey:hierarchykey
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var hierarchykey = hierarchykey_example; // {String} The hierarchy key of the record to get the feedback.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deadendrecordinglistcomments(token, hierarchykey, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class deadendrecordinglistcommentsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var hierarchykey = hierarchykey_example;  // String | The hierarchy key of the record to get the feedback. (default to null)

            try
            {
                // Lists the comments for a specific dead end
                apiInstance.deadendrecordinglistcomments(token, hierarchykey);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.deadendrecordinglistcomments: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$hierarchykey = hierarchykey_example; // String | The hierarchy key of the record to get the feedback.

try {
    $api_instance->deadendrecordinglistcomments($token, $hierarchykey);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->deadendrecordinglistcomments: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $hierarchykey = hierarchykey_example; # String | The hierarchy key of the record to get the feedback.

eval { 
    $api_instance->deadendrecordinglistcomments(token => $token, hierarchykey => $hierarchykey);
};
if ($@) {
    warn "Exception when calling DefaultApi->deadendrecordinglistcomments: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
hierarchykey = hierarchykey_example # String | The hierarchy key of the record to get the feedback. (default to null)

try: 
    # Lists the comments for a specific dead end
    api_instance.deadendrecordinglistcomments(token, hierarchykey)
except ApiException as e:
    print("Exception when calling DefaultApi->deadendrecordinglistcomments: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let hierarchykey = hierarchykey_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.deadendrecordinglistcomments(token, hierarchykey, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
hierarchykey*
String
The hierarchy key of the record to get the feedback.
Required

Responses


deadendrecordingsave

Saves a dead-end record


/deadendrecordingsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/deadendrecordingsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.deadendrecordingsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deadendrecordingsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.deadendrecordingsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deadendrecordingsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Saves a dead-end record
[apiInstance deadendrecordingsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deadendrecordingsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class deadendrecordingsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Saves a dead-end record
                apiInstance.deadendrecordingsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.deadendrecordingsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->deadendrecordingsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->deadendrecordingsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->deadendrecordingsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->deadendrecordingsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Saves a dead-end record
    api_instance.deadendrecordingsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->deadendrecordingsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.deadendrecordingsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


departmentdelete

Delete a college department

Allows the user to delete an existing college department.


/departmentdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/departmentdelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the department to delete.
        try {
            apiInstance.departmentdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#departmentdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the department to delete.
        try {
            apiInstance.departmentdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#departmentdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the department to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a college department
[apiInstance departmentdeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the department to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.departmentdelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class departmentdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the department to delete. (default to null)

            try
            {
                // Delete a college department
                apiInstance.departmentdelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.departmentdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the department to delete.

try {
    $api_instance->departmentdelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->departmentdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the department to delete.

eval { 
    $api_instance->departmentdelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->departmentdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the department to delete. (default to null)

try: 
    # Delete a college department
    api_instance.departmentdelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->departmentdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.departmentdelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the department to delete.
Required

Responses


departmentget

Search and view details of a college department

Allows the user to view an individual college department and its details.


/departmentget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/departmentget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the department to get.
        try {
            apiInstance.departmentget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#departmentget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the department to get.
        try {
            apiInstance.departmentget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#departmentget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the department to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of a college department
[apiInstance departmentgetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the department to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.departmentget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class departmentgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the department to get. (default to null)

            try
            {
                // Search and view details of a college department
                apiInstance.departmentget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.departmentget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the department to get.

try {
    $api_instance->departmentget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->departmentget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the department to get.

eval { 
    $api_instance->departmentget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->departmentget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the department to get. (default to null)

try: 
    # Search and view details of a college department
    api_instance.departmentget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->departmentget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.departmentget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the department to get.
Required

Responses


departmentlist

View a list of college departments

Allows the user to view the full list of college departments.


/departmentlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/departmentlist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.departmentlist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#departmentlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.departmentlist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#departmentlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of college departments
[apiInstance departmentlistWith:token
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.departmentlist(token, from, count, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class departmentlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)

            try
            {
                // View a list of college departments
                apiInstance.departmentlist(token, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.departmentlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->departmentlist($token, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->departmentlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->departmentlist(token => $token, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->departmentlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)

try: 
    # View a list of college departments
    api_instance.departmentlist(token, from, count)
except ApiException as e:
    print("Exception when calling DefaultApi->departmentlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.departmentlist(token, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


departmentsave

Create or edit a college department

Allows the user to create or edit a college department.


/departmentsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/departmentsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.departmentsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#departmentsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.departmentsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#departmentsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a college department
[apiInstance departmentsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.departmentsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class departmentsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a college department
                apiInstance.departmentsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.departmentsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->departmentsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->departmentsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->departmentsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->departmentsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a college department
    api_instance.departmentsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->departmentsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.departmentsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


doc

Get the documentation

Retrieves the list of actions available in the system.


/doc

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/doc?excludeanonymous="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Boolean excludeanonymous = true; // Boolean | If true it excludes the anonymous actions from the returned list.
        try {
            apiInstance.doc(excludeanonymous);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#doc");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean excludeanonymous = true; // Boolean | If true it excludes the anonymous actions from the returned list.
        try {
            apiInstance.doc(excludeanonymous);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#doc");
            e.printStackTrace();
        }
    }
}
Boolean *excludeanonymous = true; // If true it excludes the anonymous actions from the returned list. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get the documentation
[apiInstance docWith:excludeanonymous
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'excludeanonymous': true // {Boolean} If true it excludes the anonymous actions from the returned list.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.doc(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class docExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var excludeanonymous = true;  // Boolean | If true it excludes the anonymous actions from the returned list. (optional)  (default to null)

            try
            {
                // Get the documentation
                apiInstance.doc(excludeanonymous);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.doc: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$excludeanonymous = true; // Boolean | If true it excludes the anonymous actions from the returned list.

try {
    $api_instance->doc($excludeanonymous);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->doc: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $excludeanonymous = true; # Boolean | If true it excludes the anonymous actions from the returned list.

eval { 
    $api_instance->doc(excludeanonymous => $excludeanonymous);
};
if ($@) {
    warn "Exception when calling DefaultApi->doc: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
excludeanonymous = true # Boolean | If true it excludes the anonymous actions from the returned list. (optional) (default to null)

try: 
    # Get the documentation
    api_instance.doc(excludeanonymous=excludeanonymous)
except ApiException as e:
    print("Exception when calling DefaultApi->doc: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let excludeanonymous = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.doc(excludeanonymous, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
excludeanonymous
Boolean
If true it excludes the anonymous actions from the returned list.

Responses


easyloginaddbgimage

Adds background image for the login

Allows the user to set the background image that all users will see when logging into an AccuCampus account not using SSO.


/easyloginaddbgimage

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/easyloginaddbgimage?token=&upload=&filename="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String upload = upload_example; // String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
        String filename = filename_example; // String | The original filename, needed to process the file.
        try {
            apiInstance.easyloginaddbgimage(token, upload, filename);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#easyloginaddbgimage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String upload = upload_example; // String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
        String filename = filename_example; // String | The original filename, needed to process the file.
        try {
            apiInstance.easyloginaddbgimage(token, upload, filename);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#easyloginaddbgimage");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *upload = upload_example; // Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object). (default to null)
String *filename = filename_example; // The original filename, needed to process the file. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Adds background image for the login
[apiInstance easyloginaddbgimageWith:token
    upload:upload
    filename:filename
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var upload = upload_example; // {String} Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
var filename = filename_example; // {String} The original filename, needed to process the file.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.easyloginaddbgimage(token, upload, filename, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class easyloginaddbgimageExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var upload = upload_example;  // String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object). (default to null)
            var filename = filename_example;  // String | The original filename, needed to process the file. (default to null)

            try
            {
                // Adds background image for the login
                apiInstance.easyloginaddbgimage(token, upload, filename);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.easyloginaddbgimage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$upload = upload_example; // String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
$filename = filename_example; // String | The original filename, needed to process the file.

try {
    $api_instance->easyloginaddbgimage($token, $upload, $filename);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->easyloginaddbgimage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $upload = upload_example; # String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
my $filename = filename_example; # String | The original filename, needed to process the file.

eval { 
    $api_instance->easyloginaddbgimage(token => $token, upload => $upload, filename => $filename);
};
if ($@) {
    warn "Exception when calling DefaultApi->easyloginaddbgimage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
upload = upload_example # String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object). (default to null)
filename = filename_example # String | The original filename, needed to process the file. (default to null)

try: 
    # Adds background image for the login
    api_instance.easyloginaddbgimage(token, upload, filename)
except ApiException as e:
    print("Exception when calling DefaultApi->easyloginaddbgimage: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let upload = upload_example; // String
    let filename = filename_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.easyloginaddbgimage(token, upload, filename, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
upload*
String
Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
Required
filename*
String
The original filename, needed to process the file.
Required

Responses


eventchecksessions

Edit an event's sessions according to their schedule

Allows the user to edit event sessions.


/eventchecksessions

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventchecksessions?token=&eventid=&autorepair="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to check.
        Boolean autorepair = true; // Boolean | True to automatically fix the invalid sessions.
        try {
            apiInstance.eventchecksessions(token, eventid, autorepair);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventchecksessions");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to check.
        Boolean autorepair = true; // Boolean | True to automatically fix the invalid sessions.
        try {
            apiInstance.eventchecksessions(token, eventid, autorepair);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventchecksessions");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event to check. (default to null)
Boolean *autorepair = true; // True to automatically fix the invalid sessions. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Edit an event's sessions according to their schedule
[apiInstance eventchecksessionsWith:token
    eventid:eventid
    autorepair:autorepair
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the event to check.
var autorepair = true; // {Boolean} True to automatically fix the invalid sessions.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventchecksessions(token, eventid, autorepair, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventchecksessionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var eventid = new UUID(); // UUID | The id of the event to check. (default to null)
            var autorepair = true;  // Boolean | True to automatically fix the invalid sessions. (default to null)

            try
            {
                // Edit an event's sessions according to their schedule
                apiInstance.eventchecksessions(token, eventid, autorepair);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventchecksessions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to check.
$autorepair = true; // Boolean | True to automatically fix the invalid sessions.

try {
    $api_instance->eventchecksessions($token, $eventid, $autorepair);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventchecksessions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event to check.
my $autorepair = true; # Boolean | True to automatically fix the invalid sessions.

eval { 
    $api_instance->eventchecksessions(token => $token, eventid => $eventid, autorepair => $autorepair);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventchecksessions: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event to check. (default to null)
autorepair = true # Boolean | True to automatically fix the invalid sessions. (default to null)

try: 
    # Edit an event's sessions according to their schedule
    api_instance.eventchecksessions(token, eventid, autorepair)
except ApiException as e:
    print("Exception when calling DefaultApi->eventchecksessions: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let autorepair = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.eventchecksessions(token, eventid, autorepair, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
eventid*
UUID (uuid)
The id of the event to check.
Required
autorepair*
Boolean
True to automatically fix the invalid sessions.
Required

Responses


eventdelete

Delete a course

Allows the user to delete an existing course.


/eventdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventdelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to delete.
        try {
            apiInstance.eventdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to delete.
        try {
            apiInstance.eventdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a course
[apiInstance eventdeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the event to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventdelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the event to delete. (default to null)

            try
            {
                // Delete a course
                apiInstance.eventdelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to delete.

try {
    $api_instance->eventdelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event to delete.

eval { 
    $api_instance->eventdelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event to delete. (default to null)

try: 
    # Delete a course
    api_instance.eventdelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->eventdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.eventdelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the event to delete.
Required

Responses


eventget

Search and view details of a course

Allows the user to view an individual course and its details.


/eventget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to get.
        try {
            apiInstance.eventget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to get.
        try {
            apiInstance.eventget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of a course
[apiInstance eventgetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the event to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the event to get. (default to null)

            try
            {
                // Search and view details of a course
                apiInstance.eventget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to get.

try {
    $api_instance->eventget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event to get.

eval { 
    $api_instance->eventget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event to get. (default to null)

try: 
    # Search and view details of a course
    api_instance.eventget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->eventget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.eventget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the event to get.
Required

Responses


eventgetsessionsbydate

View a list of courses by date

Allows the user to view a list of courses by date.


/eventgetsessionsbydate

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventgetsessionsbydate?token=&location=&date=&type="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The location to filter the events.
        Date date = 2013-10-20T19:20:30+01:00; // Date | The date to filter the events. Today will be used if this parameter is omitted.
        String type = type_example; // String | Type of event to list.
        try {
            apiInstance.eventgetsessionsbydate(token, location, date, type);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventgetsessionsbydate");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The location to filter the events.
        Date date = 2013-10-20T19:20:30+01:00; // Date | The date to filter the events. Today will be used if this parameter is omitted.
        String type = type_example; // String | Type of event to list.
        try {
            apiInstance.eventgetsessionsbydate(token, location, date, type);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventgetsessionsbydate");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The location to filter the events. (optional) (default to null)
Date *date = 2013-10-20T19:20:30+01:00; // The date to filter the events. Today will be used if this parameter is omitted. (optional) (default to null)
String *type = type_example; // Type of event to list. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of courses by date
[apiInstance eventgetsessionsbydateWith:token
    location:location
    date:date
    type:type
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'location': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The location to filter the events.
  'date': 2013-10-20T19:20:30+01:00, // {Date} The date to filter the events. Today will be used if this parameter is omitted.
  'type': type_example // {String} Type of event to list.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventgetsessionsbydate(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventgetsessionsbydateExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var location = new UUID(); // UUID | The location to filter the events. (optional)  (default to null)
            var date = 2013-10-20T19:20:30+01:00;  // Date | The date to filter the events. Today will be used if this parameter is omitted. (optional)  (default to null)
            var type = type_example;  // String | Type of event to list. (optional)  (default to null)

            try
            {
                // View a list of courses by date
                apiInstance.eventgetsessionsbydate(token, location, date, type);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventgetsessionsbydate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The location to filter the events.
$date = 2013-10-20T19:20:30+01:00; // Date | The date to filter the events. Today will be used if this parameter is omitted.
$type = type_example; // String | Type of event to list.

try {
    $api_instance->eventgetsessionsbydate($token, $location, $date, $type);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventgetsessionsbydate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The location to filter the events.
my $date = 2013-10-20T19:20:30+01:00; # Date | The date to filter the events. Today will be used if this parameter is omitted.
my $type = type_example; # String | Type of event to list.

eval { 
    $api_instance->eventgetsessionsbydate(token => $token, location => $location, date => $date, type => $type);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventgetsessionsbydate: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The location to filter the events. (optional) (default to null)
date = 2013-10-20T19:20:30+01:00 # Date | The date to filter the events. Today will be used if this parameter is omitted. (optional) (default to null)
type = type_example # String | Type of event to list. (optional) (default to null)

try: 
    # View a list of courses by date
    api_instance.eventgetsessionsbydate(token, location=location, date=date, type=type)
except ApiException as e:
    print("Exception when calling DefaultApi->eventgetsessionsbydate: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let date = 2013-10-20T19:20:30+01:00; // Date
    let type = type_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventgetsessionsbydate(token, location, date, type, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
location
UUID (uuid)
The location to filter the events.
date
Date (date-time)
The date to filter the events. Today will be used if this parameter is omitted.
type
String
Type of event to list.

Responses


eventlist

View a list of courses

Allows the user to view the full list of courses.


/eventlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventlist?token=&from=&count=&summaryonly=&termid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String from = from_example; // String | The first record to return.
        String count = count_example; // String | The max number of records to return.
        Boolean summaryonly = true; // Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
        UUID termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the term to list the events. Null to list all events.
        try {
            apiInstance.eventlist(token, from, count, summaryonly, termid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String from = from_example; // String | The first record to return.
        String count = count_example; // String | The max number of records to return.
        Boolean summaryonly = true; // Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
        UUID termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the term to list the events. Null to list all events.
        try {
            apiInstance.eventlist(token, from, count, summaryonly, termid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *from = from_example; // The first record to return. (default to null)
String *count = count_example; // The max number of records to return. (default to null)
Boolean *summaryonly = true; // True to return only the event information and not the associated schedule, dept, etc. Defaults to false. (optional) (default to null)
UUID *termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Id of the term to list the events. Null to list all events. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of courses
[apiInstance eventlistWith:token
    from:from
    count:count
    summaryonly:summaryonly
    termid:termid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = from_example; // {String} The first record to return.
var count = count_example; // {String} The max number of records to return.
var opts = {
  'summaryonly': true, // {Boolean} True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
  'termid': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} Id of the term to list the events. Null to list all events.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventlist(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = from_example;  // String | The first record to return. (default to null)
            var count = count_example;  // String | The max number of records to return. (default to null)
            var summaryonly = true;  // Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false. (optional)  (default to null)
            var termid = new UUID(); // UUID | Id of the term to list the events. Null to list all events. (optional)  (default to null)

            try
            {
                // View a list of courses
                apiInstance.eventlist(token, from, count, summaryonly, termid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = from_example; // String | The first record to return.
$count = count_example; // String | The max number of records to return.
$summaryonly = true; // Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
$termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the term to list the events. Null to list all events.

try {
    $api_instance->eventlist($token, $from, $count, $summaryonly, $termid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = from_example; # String | The first record to return.
my $count = count_example; # String | The max number of records to return.
my $summaryonly = true; # Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
my $termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Id of the term to list the events. Null to list all events.

eval { 
    $api_instance->eventlist(token => $token, from => $from, count => $count, summaryonly => $summaryonly, termid => $termid);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = from_example # String | The first record to return. (default to null)
count = count_example # String | The max number of records to return. (default to null)
summaryonly = true # Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false. (optional) (default to null)
termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Id of the term to list the events. Null to list all events. (optional) (default to null)

try: 
    # View a list of courses
    api_instance.eventlist(token, from, count, summaryonly=summaryonly, termid=termid)
except ApiException as e:
    print("Exception when calling DefaultApi->eventlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = from_example; // String
    let count = count_example; // String
    let summaryonly = true; // Boolean
    let termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.eventlist(token, from, count, summaryonly, termid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
String
The first record to return.
Required
count*
String
The max number of records to return.
Required
summaryonly
Boolean
True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
termid
UUID (uuid)
Id of the term to list the events. Null to list all events.

Responses


eventlistregistered

View a list of courses I am registered to

Allows the user to view the courses they are registered to.


/eventlistregistered

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventlistregistered?token=&from=&count=&summaryonly=&termid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String from = from_example; // String | The first record to return.
        String count = count_example; // String | The max number of records to return.
        Boolean summaryonly = true; // Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
        UUID termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the term to list the events. Null to list all events.
        try {
            apiInstance.eventlistregistered(token, from, count, summaryonly, termid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventlistregistered");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String from = from_example; // String | The first record to return.
        String count = count_example; // String | The max number of records to return.
        Boolean summaryonly = true; // Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
        UUID termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the term to list the events. Null to list all events.
        try {
            apiInstance.eventlistregistered(token, from, count, summaryonly, termid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventlistregistered");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *from = from_example; // The first record to return. (default to null)
String *count = count_example; // The max number of records to return. (default to null)
Boolean *summaryonly = true; // True to return only the event information and not the associated schedule, dept, etc. Defaults to false. (optional) (default to null)
UUID *termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Id of the term to list the events. Null to list all events. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of courses I am registered to
[apiInstance eventlistregisteredWith:token
    from:from
    count:count
    summaryonly:summaryonly
    termid:termid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = from_example; // {String} The first record to return.
var count = count_example; // {String} The max number of records to return.
var opts = {
  'summaryonly': true, // {Boolean} True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
  'termid': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} Id of the term to list the events. Null to list all events.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventlistregistered(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventlistregisteredExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = from_example;  // String | The first record to return. (default to null)
            var count = count_example;  // String | The max number of records to return. (default to null)
            var summaryonly = true;  // Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false. (optional)  (default to null)
            var termid = new UUID(); // UUID | Id of the term to list the events. Null to list all events. (optional)  (default to null)

            try
            {
                // View a list of courses I am registered to
                apiInstance.eventlistregistered(token, from, count, summaryonly, termid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventlistregistered: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = from_example; // String | The first record to return.
$count = count_example; // String | The max number of records to return.
$summaryonly = true; // Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
$termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the term to list the events. Null to list all events.

try {
    $api_instance->eventlistregistered($token, $from, $count, $summaryonly, $termid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventlistregistered: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = from_example; # String | The first record to return.
my $count = count_example; # String | The max number of records to return.
my $summaryonly = true; # Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
my $termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Id of the term to list the events. Null to list all events.

eval { 
    $api_instance->eventlistregistered(token => $token, from => $from, count => $count, summaryonly => $summaryonly, termid => $termid);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventlistregistered: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = from_example # String | The first record to return. (default to null)
count = count_example # String | The max number of records to return. (default to null)
summaryonly = true # Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false. (optional) (default to null)
termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Id of the term to list the events. Null to list all events. (optional) (default to null)

try: 
    # View a list of courses I am registered to
    api_instance.eventlistregistered(token, from, count, summaryonly=summaryonly, termid=termid)
except ApiException as e:
    print("Exception when calling DefaultApi->eventlistregistered: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = from_example; // String
    let count = count_example; // String
    let summaryonly = true; // Boolean
    let termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.eventlistregistered(token, from, count, summaryonly, termid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
String
The first record to return.
Required
count*
String
The max number of records to return.
Required
summaryonly
Boolean
True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
termid
UUID (uuid)
Id of the term to list the events. Null to list all events.

Responses


eventregaddme

Register current user to a course

Allows the user to make themselves available for individual courses.


/eventregaddme

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventregaddme?token=&eventid=&listname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
        String listname = listname_example; // String | The name of the list where the user has to be registered.
        try {
            apiInstance.eventregaddme(token, eventid, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregaddme");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
        String listname = listname_example; // String | The name of the list where the user has to be registered.
        try {
            apiInstance.eventregaddme(token, eventid, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregaddme");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event. (default to null)
String *listname = listname_example; // The name of the list where the user has to be registered. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Register current user to a course
[apiInstance eventregaddmeWith:token
    eventid:eventid
    listname:listname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the event.
var listname = listname_example; // {String} The name of the list where the user has to be registered.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventregaddme(token, eventid, listname, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventregaddmeExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var eventid = new UUID(); // UUID | The id of the event. (default to null)
            var listname = listname_example;  // String | The name of the list where the user has to be registered. (default to null)

            try
            {
                // Register current user to a course
                apiInstance.eventregaddme(token, eventid, listname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventregaddme: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
$listname = listname_example; // String | The name of the list where the user has to be registered.

try {
    $api_instance->eventregaddme($token, $eventid, $listname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventregaddme: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event.
my $listname = listname_example; # String | The name of the list where the user has to be registered.

eval { 
    $api_instance->eventregaddme(token => $token, eventid => $eventid, listname => $listname);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventregaddme: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event. (default to null)
listname = listname_example # String | The name of the list where the user has to be registered. (default to null)

try: 
    # Register current user to a course
    api_instance.eventregaddme(token, eventid, listname)
except ApiException as e:
    print("Exception when calling DefaultApi->eventregaddme: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let listname = listname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventregaddme(token, eventid, listname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
eventid*
UUID (uuid)
The id of the event.
Required
listname*
String
The name of the list where the user has to be registered.
Required

Responses


eventregaddmetoall

Register current user to all courses

Allows the user to make themselves available for all courses.


/eventregaddmetoall

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventregaddmetoall?token=&listname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String listname = listname_example; // String | The name of the list where the user has to be registered.
        try {
            apiInstance.eventregaddmetoall(token, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregaddmetoall");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String listname = listname_example; // String | The name of the list where the user has to be registered.
        try {
            apiInstance.eventregaddmetoall(token, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregaddmetoall");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *listname = listname_example; // The name of the list where the user has to be registered. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Register current user to all courses
[apiInstance eventregaddmetoallWith:token
    listname:listname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var listname = listname_example; // {String} The name of the list where the user has to be registered.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventregaddmetoall(token, listname, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventregaddmetoallExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var listname = listname_example;  // String | The name of the list where the user has to be registered. (default to null)

            try
            {
                // Register current user to all courses
                apiInstance.eventregaddmetoall(token, listname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventregaddmetoall: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$listname = listname_example; // String | The name of the list where the user has to be registered.

try {
    $api_instance->eventregaddmetoall($token, $listname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventregaddmetoall: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $listname = listname_example; # String | The name of the list where the user has to be registered.

eval { 
    $api_instance->eventregaddmetoall(token => $token, listname => $listname);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventregaddmetoall: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
listname = listname_example # String | The name of the list where the user has to be registered. (default to null)

try: 
    # Register current user to all courses
    api_instance.eventregaddmetoall(token, listname)
except ApiException as e:
    print("Exception when calling DefaultApi->eventregaddmetoall: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let listname = listname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventregaddmetoall(token, listname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
listname*
String
The name of the list where the user has to be registered.
Required

Responses


eventregaddmetogroup

Register current user to a course group

Allows the user to make themselves available for a course group.


/eventregaddmetogroup

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventregaddmetogroup?token=&codegroup=&listname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String codegroup = codegroup_example; // String | The code used to group events.
        String listname = listname_example; // String | The name of the list where the user has to be registered.
        try {
            apiInstance.eventregaddmetogroup(token, codegroup, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregaddmetogroup");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String codegroup = codegroup_example; // String | The code used to group events.
        String listname = listname_example; // String | The name of the list where the user has to be registered.
        try {
            apiInstance.eventregaddmetogroup(token, codegroup, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregaddmetogroup");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *codegroup = codegroup_example; // The code used to group events. (default to null)
String *listname = listname_example; // The name of the list where the user has to be registered. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Register current user to a course group
[apiInstance eventregaddmetogroupWith:token
    codegroup:codegroup
    listname:listname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var codegroup = codegroup_example; // {String} The code used to group events.
var listname = listname_example; // {String} The name of the list where the user has to be registered.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventregaddmetogroup(token, codegroup, listname, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventregaddmetogroupExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var codegroup = codegroup_example;  // String | The code used to group events. (default to null)
            var listname = listname_example;  // String | The name of the list where the user has to be registered. (default to null)

            try
            {
                // Register current user to a course group
                apiInstance.eventregaddmetogroup(token, codegroup, listname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventregaddmetogroup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$codegroup = codegroup_example; // String | The code used to group events.
$listname = listname_example; // String | The name of the list where the user has to be registered.

try {
    $api_instance->eventregaddmetogroup($token, $codegroup, $listname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventregaddmetogroup: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $codegroup = codegroup_example; # String | The code used to group events.
my $listname = listname_example; # String | The name of the list where the user has to be registered.

eval { 
    $api_instance->eventregaddmetogroup(token => $token, codegroup => $codegroup, listname => $listname);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventregaddmetogroup: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
codegroup = codegroup_example # String | The code used to group events. (default to null)
listname = listname_example # String | The name of the list where the user has to be registered. (default to null)

try: 
    # Register current user to a course group
    api_instance.eventregaddmetogroup(token, codegroup, listname)
except ApiException as e:
    print("Exception when calling DefaultApi->eventregaddmetogroup: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let codegroup = codegroup_example; // String
    let listname = listname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventregaddmetogroup(token, codegroup, listname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
codegroup*
String
The code used to group events.
Required
listname*
String
The name of the list where the user has to be registered.
Required

Responses


eventregadduser

Register a user to a course for attendance

Allows the user to register a user to a course.


/eventregadduser

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventregadduser?token=&userid=&eventid=&listname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
        String listname = listname_example; // String | The name of the list where the user has to be registered.
        try {
            apiInstance.eventregadduser(token, userid, eventid, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregadduser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
        String listname = listname_example; // String | The name of the list where the user has to be registered.
        try {
            apiInstance.eventregadduser(token, userid, eventid, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregadduser");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to add. (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event. (default to null)
String *listname = listname_example; // The name of the list where the user has to be registered. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Register a user to a course for attendance
[apiInstance eventregadduserWith:token
    userid:userid
    eventid:eventid
    listname:listname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to add.
var eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the event.
var listname = listname_example; // {String} The name of the list where the user has to be registered.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventregadduser(token, userid, eventid, listname, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventregadduserExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to add. (default to null)
            var eventid = new UUID(); // UUID | The id of the event. (default to null)
            var listname = listname_example;  // String | The name of the list where the user has to be registered. (default to null)

            try
            {
                // Register a user to a course for attendance
                apiInstance.eventregadduser(token, userid, eventid, listname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventregadduser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
$listname = listname_example; // String | The name of the list where the user has to be registered.

try {
    $api_instance->eventregadduser($token, $userid, $eventid, $listname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventregadduser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to add.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event.
my $listname = listname_example; # String | The name of the list where the user has to be registered.

eval { 
    $api_instance->eventregadduser(token => $token, userid => $userid, eventid => $eventid, listname => $listname);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventregadduser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to add. (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event. (default to null)
listname = listname_example # String | The name of the list where the user has to be registered. (default to null)

try: 
    # Register a user to a course for attendance
    api_instance.eventregadduser(token, userid, eventid, listname)
except ApiException as e:
    print("Exception when calling DefaultApi->eventregadduser: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let listname = listname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventregadduser(token, userid, eventid, listname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to add.
Required
eventid*
UUID (uuid)
The id of the event.
Required
listname*
String
The name of the list where the user has to be registered.
Required

Responses


eventregaddusertoall

Register a user to assist with all courses

Allows the user to make a staff member available to assist with all courses.


/eventregaddusertoall

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventregaddusertoall?token=&userid=&listname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
        String listname = listname_example; // String | The name of the list where the user has to be registered.
        try {
            apiInstance.eventregaddusertoall(token, userid, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregaddusertoall");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
        String listname = listname_example; // String | The name of the list where the user has to be registered.
        try {
            apiInstance.eventregaddusertoall(token, userid, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregaddusertoall");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to add. (default to null)
String *listname = listname_example; // The name of the list where the user has to be registered. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Register a user to assist with all courses
[apiInstance eventregaddusertoallWith:token
    userid:userid
    listname:listname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to add.
var listname = listname_example; // {String} The name of the list where the user has to be registered.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventregaddusertoall(token, userid, listname, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventregaddusertoallExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to add. (default to null)
            var listname = listname_example;  // String | The name of the list where the user has to be registered. (default to null)

            try
            {
                // Register a user to assist with all courses
                apiInstance.eventregaddusertoall(token, userid, listname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventregaddusertoall: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
$listname = listname_example; // String | The name of the list where the user has to be registered.

try {
    $api_instance->eventregaddusertoall($token, $userid, $listname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventregaddusertoall: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to add.
my $listname = listname_example; # String | The name of the list where the user has to be registered.

eval { 
    $api_instance->eventregaddusertoall(token => $token, userid => $userid, listname => $listname);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventregaddusertoall: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to add. (default to null)
listname = listname_example # String | The name of the list where the user has to be registered. (default to null)

try: 
    # Register a user to assist with all courses
    api_instance.eventregaddusertoall(token, userid, listname)
except ApiException as e:
    print("Exception when calling DefaultApi->eventregaddusertoall: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let listname = listname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventregaddusertoall(token, userid, listname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to add.
Required
listname*
String
The name of the list where the user has to be registered.
Required

Responses


eventregaddusertogroup

Register a user to an course group

Allows the user to make a staff member available for a course group.


/eventregaddusertogroup

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventregaddusertogroup?token=&userid=&codegroup=&listname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
        String codegroup = codegroup_example; // String | The code used to group events.
        String listname = listname_example; // String | The name of the list where the user has to be registered.
        try {
            apiInstance.eventregaddusertogroup(token, userid, codegroup, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregaddusertogroup");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
        String codegroup = codegroup_example; // String | The code used to group events.
        String listname = listname_example; // String | The name of the list where the user has to be registered.
        try {
            apiInstance.eventregaddusertogroup(token, userid, codegroup, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregaddusertogroup");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to add. (default to null)
String *codegroup = codegroup_example; // The code used to group events. (default to null)
String *listname = listname_example; // The name of the list where the user has to be registered. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Register a user to an course group
[apiInstance eventregaddusertogroupWith:token
    userid:userid
    codegroup:codegroup
    listname:listname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to add.
var codegroup = codegroup_example; // {String} The code used to group events.
var listname = listname_example; // {String} The name of the list where the user has to be registered.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventregaddusertogroup(token, userid, codegroup, listname, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventregaddusertogroupExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to add. (default to null)
            var codegroup = codegroup_example;  // String | The code used to group events. (default to null)
            var listname = listname_example;  // String | The name of the list where the user has to be registered. (default to null)

            try
            {
                // Register a user to an course group
                apiInstance.eventregaddusertogroup(token, userid, codegroup, listname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventregaddusertogroup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
$codegroup = codegroup_example; // String | The code used to group events.
$listname = listname_example; // String | The name of the list where the user has to be registered.

try {
    $api_instance->eventregaddusertogroup($token, $userid, $codegroup, $listname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventregaddusertogroup: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to add.
my $codegroup = codegroup_example; # String | The code used to group events.
my $listname = listname_example; # String | The name of the list where the user has to be registered.

eval { 
    $api_instance->eventregaddusertogroup(token => $token, userid => $userid, codegroup => $codegroup, listname => $listname);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventregaddusertogroup: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to add. (default to null)
codegroup = codegroup_example # String | The code used to group events. (default to null)
listname = listname_example # String | The name of the list where the user has to be registered. (default to null)

try: 
    # Register a user to an course group
    api_instance.eventregaddusertogroup(token, userid, codegroup, listname)
except ApiException as e:
    print("Exception when calling DefaultApi->eventregaddusertogroup: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let codegroup = codegroup_example; // String
    let listname = listname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventregaddusertogroup(token, userid, codegroup, listname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to add.
Required
codegroup*
String
The code used to group events.
Required
listname*
String
The name of the list where the user has to be registered.
Required

Responses


eventreggetevents

View course registration by user

Allows the user to view all courses a given user is registered to, provided they have permission to view that user.


/eventreggetevents

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventreggetevents?token=&userid=&listname=&termid=&namefilter="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id to list events.
        String listname = listname_example; // String | The name of the list where the user is registered.
        UUID termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The term id to list events.
        String namefilter = namefilter_example; // String | The value used to filter the events by name.
        try {
            apiInstance.eventreggetevents(token, userid, listname, termid, namefilter);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventreggetevents");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id to list events.
        String listname = listname_example; // String | The name of the list where the user is registered.
        UUID termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The term id to list events.
        String namefilter = namefilter_example; // String | The value used to filter the events by name.
        try {
            apiInstance.eventreggetevents(token, userid, listname, termid, namefilter);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventreggetevents");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The user id to list events. (default to null)
String *listname = listname_example; // The name of the list where the user is registered. (default to null)
UUID *termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The term id to list events. (optional) (default to null)
String *namefilter = namefilter_example; // The value used to filter the events by name. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View course registration by user
[apiInstance eventreggeteventsWith:token
    userid:userid
    listname:listname
    termid:termid
    namefilter:namefilter
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The user id to list events.
var listname = listname_example; // {String} The name of the list where the user is registered.
var opts = {
  'termid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The term id to list events.
  'namefilter': namefilter_example // {String} The value used to filter the events by name.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventreggetevents(token, userid, listname, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventreggeteventsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The user id to list events. (default to null)
            var listname = listname_example;  // String | The name of the list where the user is registered. (default to null)
            var termid = new UUID(); // UUID | The term id to list events. (optional)  (default to null)
            var namefilter = namefilter_example;  // String | The value used to filter the events by name. (optional)  (default to null)

            try
            {
                // View course registration by user
                apiInstance.eventreggetevents(token, userid, listname, termid, namefilter);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventreggetevents: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id to list events.
$listname = listname_example; // String | The name of the list where the user is registered.
$termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The term id to list events.
$namefilter = namefilter_example; // String | The value used to filter the events by name.

try {
    $api_instance->eventreggetevents($token, $userid, $listname, $termid, $namefilter);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventreggetevents: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The user id to list events.
my $listname = listname_example; # String | The name of the list where the user is registered.
my $termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The term id to list events.
my $namefilter = namefilter_example; # String | The value used to filter the events by name.

eval { 
    $api_instance->eventreggetevents(token => $token, userid => $userid, listname => $listname, termid => $termid, namefilter => $namefilter);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventreggetevents: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The user id to list events. (default to null)
listname = listname_example # String | The name of the list where the user is registered. (default to null)
termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The term id to list events. (optional) (default to null)
namefilter = namefilter_example # String | The value used to filter the events by name. (optional) (default to null)

try: 
    # View course registration by user
    api_instance.eventreggetevents(token, userid, listname, termid=termid, namefilter=namefilter)
except ApiException as e:
    print("Exception when calling DefaultApi->eventreggetevents: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let listname = listname_example; // String
    let termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let namefilter = namefilter_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventreggetevents(token, userid, listname, termid, namefilter, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The user id to list events.
Required
listname*
String
The name of the list where the user is registered.
Required
termid
UUID (uuid)
The term id to list events.
namefilter
String
The value used to filter the events by name.

Responses


eventreggetgroups

Lists the course group registrations of a user

Allows the user to view the course groups a staff member is available for.


/eventreggetgroups

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventreggetgroups?token=&userid=&listname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id to list events.
        String listname = listname_example; // String | The name of the list where the user is registered.
        try {
            apiInstance.eventreggetgroups(token, userid, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventreggetgroups");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id to list events.
        String listname = listname_example; // String | The name of the list where the user is registered.
        try {
            apiInstance.eventreggetgroups(token, userid, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventreggetgroups");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The user id to list events. (default to null)
String *listname = listname_example; // The name of the list where the user is registered. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists the course group registrations of a user
[apiInstance eventreggetgroupsWith:token
    userid:userid
    listname:listname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The user id to list events.
var listname = listname_example; // {String} The name of the list where the user is registered.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventreggetgroups(token, userid, listname, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventreggetgroupsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The user id to list events. (default to null)
            var listname = listname_example;  // String | The name of the list where the user is registered. (default to null)

            try
            {
                // Lists the course group registrations of a user
                apiInstance.eventreggetgroups(token, userid, listname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventreggetgroups: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id to list events.
$listname = listname_example; // String | The name of the list where the user is registered.

try {
    $api_instance->eventreggetgroups($token, $userid, $listname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventreggetgroups: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The user id to list events.
my $listname = listname_example; # String | The name of the list where the user is registered.

eval { 
    $api_instance->eventreggetgroups(token => $token, userid => $userid, listname => $listname);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventreggetgroups: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The user id to list events. (default to null)
listname = listname_example # String | The name of the list where the user is registered. (default to null)

try: 
    # Lists the course group registrations of a user
    api_instance.eventreggetgroups(token, userid, listname)
except ApiException as e:
    print("Exception when calling DefaultApi->eventreggetgroups: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let listname = listname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventreggetgroups(token, userid, listname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The user id to list events.
Required
listname*
String
The name of the list where the user is registered.
Required

Responses


eventreggetmyevents

View the event registrations of the current user


/eventreggetmyevents

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventreggetmyevents?token=&listname=&termid=&namefilter="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String listname = listname_example; // String | The name of the list where the user is registered.
        UUID termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The term id to list events.
        String namefilter = namefilter_example; // String | The value used to filter the events by name.
        try {
            apiInstance.eventreggetmyevents(token, listname, termid, namefilter);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventreggetmyevents");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String listname = listname_example; // String | The name of the list where the user is registered.
        UUID termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The term id to list events.
        String namefilter = namefilter_example; // String | The value used to filter the events by name.
        try {
            apiInstance.eventreggetmyevents(token, listname, termid, namefilter);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventreggetmyevents");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *listname = listname_example; // The name of the list where the user is registered. (default to null)
UUID *termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The term id to list events. (optional) (default to null)
String *namefilter = namefilter_example; // The value used to filter the events by name. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View the event registrations of the current user
[apiInstance eventreggetmyeventsWith:token
    listname:listname
    termid:termid
    namefilter:namefilter
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var listname = listname_example; // {String} The name of the list where the user is registered.
var opts = {
  'termid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The term id to list events.
  'namefilter': namefilter_example // {String} The value used to filter the events by name.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventreggetmyevents(token, listname, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventreggetmyeventsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var listname = listname_example;  // String | The name of the list where the user is registered. (default to null)
            var termid = new UUID(); // UUID | The term id to list events. (optional)  (default to null)
            var namefilter = namefilter_example;  // String | The value used to filter the events by name. (optional)  (default to null)

            try
            {
                // View the event registrations of the current user
                apiInstance.eventreggetmyevents(token, listname, termid, namefilter);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventreggetmyevents: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$listname = listname_example; // String | The name of the list where the user is registered.
$termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The term id to list events.
$namefilter = namefilter_example; // String | The value used to filter the events by name.

try {
    $api_instance->eventreggetmyevents($token, $listname, $termid, $namefilter);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventreggetmyevents: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $listname = listname_example; # String | The name of the list where the user is registered.
my $termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The term id to list events.
my $namefilter = namefilter_example; # String | The value used to filter the events by name.

eval { 
    $api_instance->eventreggetmyevents(token => $token, listname => $listname, termid => $termid, namefilter => $namefilter);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventreggetmyevents: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
listname = listname_example # String | The name of the list where the user is registered. (default to null)
termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The term id to list events. (optional) (default to null)
namefilter = namefilter_example # String | The value used to filter the events by name. (optional) (default to null)

try: 
    # View the event registrations of the current user
    api_instance.eventreggetmyevents(token, listname, termid=termid, namefilter=namefilter)
except ApiException as e:
    print("Exception when calling DefaultApi->eventreggetmyevents: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let listname = listname_example; // String
    let termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let namefilter = namefilter_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventreggetmyevents(token, listname, termid, namefilter, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
listname*
String
The name of the list where the user is registered.
Required
termid
UUID (uuid)
The term id to list events.
namefilter
String
The value used to filter the events by name.

Responses


eventreggetmygroups

View all current user registrations to course groups

Allows the user to view all his registrations to course groups.


/eventreggetmygroups

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventreggetmygroups?token=&listname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String listname = listname_example; // String | The name of the list where the user is registered.
        try {
            apiInstance.eventreggetmygroups(token, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventreggetmygroups");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String listname = listname_example; // String | The name of the list where the user is registered.
        try {
            apiInstance.eventreggetmygroups(token, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventreggetmygroups");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *listname = listname_example; // The name of the list where the user is registered. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View all current user registrations to course groups
[apiInstance eventreggetmygroupsWith:token
    listname:listname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var listname = listname_example; // {String} The name of the list where the user is registered.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventreggetmygroups(token, listname, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventreggetmygroupsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var listname = listname_example;  // String | The name of the list where the user is registered. (default to null)

            try
            {
                // View all current user registrations to course groups
                apiInstance.eventreggetmygroups(token, listname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventreggetmygroups: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$listname = listname_example; // String | The name of the list where the user is registered.

try {
    $api_instance->eventreggetmygroups($token, $listname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventreggetmygroups: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $listname = listname_example; # String | The name of the list where the user is registered.

eval { 
    $api_instance->eventreggetmygroups(token => $token, listname => $listname);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventreggetmygroups: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
listname = listname_example # String | The name of the list where the user is registered. (default to null)

try: 
    # View all current user registrations to course groups
    api_instance.eventreggetmygroups(token, listname)
except ApiException as e:
    print("Exception when calling DefaultApi->eventreggetmygroups: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let listname = listname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventreggetmygroups(token, listname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
listname*
String
The name of the list where the user is registered.
Required

Responses


eventreggetusers

View course registration

Allows the user to view all users registered for an individual course.


/eventreggetusers

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventreggetusers?token=&eventid=&listname=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The event id to list users.
        String listname = listname_example; // String | The name of the list to get.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.eventreggetusers(token, eventid, listname, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventreggetusers");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The event id to list users.
        String listname = listname_example; // String | The name of the list to get.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.eventreggetusers(token, eventid, listname, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventreggetusers");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The event id to list users. (default to null)
String *listname = listname_example; // The name of the list to get. (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View course registration
[apiInstance eventreggetusersWith:token
    eventid:eventid
    listname:listname
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The event id to list users.
var listname = listname_example; // {String} The name of the list to get.
var opts = {
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventreggetusers(token, eventid, listname, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventreggetusersExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var eventid = new UUID(); // UUID | The event id to list users. (default to null)
            var listname = listname_example;  // String | The name of the list to get. (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // View course registration
                apiInstance.eventreggetusers(token, eventid, listname, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventreggetusers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The event id to list users.
$listname = listname_example; // String | The name of the list to get.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->eventreggetusers($token, $eventid, $listname, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventreggetusers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The event id to list users.
my $listname = listname_example; # String | The name of the list to get.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->eventreggetusers(token => $token, eventid => $eventid, listname => $listname, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventreggetusers: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The event id to list users. (default to null)
listname = listname_example # String | The name of the list to get. (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # View course registration
    api_instance.eventreggetusers(token, eventid, listname, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->eventreggetusers: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let listname = listname_example; // String
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.eventreggetusers(token, eventid, listname, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
eventid*
UUID (uuid)
The event id to list users.
Required
listname*
String
The name of the list to get.
Required
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


eventreggetusersfromgroup

Lists the registrations for a course group

Allows the user the get the staff members registered to a specific course group


/eventreggetusersfromgroup

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventreggetusersfromgroup?token=&codegroup=&listname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The code group to list users.
        String listname = listname_example; // String | The name of the list to get.
        try {
            apiInstance.eventreggetusersfromgroup(token, codegroup, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventreggetusersfromgroup");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The code group to list users.
        String listname = listname_example; // String | The name of the list to get.
        try {
            apiInstance.eventreggetusersfromgroup(token, codegroup, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventreggetusersfromgroup");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The code group to list users. (default to null)
String *listname = listname_example; // The name of the list to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists the registrations for a course group
[apiInstance eventreggetusersfromgroupWith:token
    codegroup:codegroup
    listname:listname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The code group to list users.
var listname = listname_example; // {String} The name of the list to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventreggetusersfromgroup(token, codegroup, listname, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventreggetusersfromgroupExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var codegroup = new UUID(); // UUID | The code group to list users. (default to null)
            var listname = listname_example;  // String | The name of the list to get. (default to null)

            try
            {
                // Lists the registrations for a course group
                apiInstance.eventreggetusersfromgroup(token, codegroup, listname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventreggetusersfromgroup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The code group to list users.
$listname = listname_example; // String | The name of the list to get.

try {
    $api_instance->eventreggetusersfromgroup($token, $codegroup, $listname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventreggetusersfromgroup: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The code group to list users.
my $listname = listname_example; # String | The name of the list to get.

eval { 
    $api_instance->eventreggetusersfromgroup(token => $token, codegroup => $codegroup, listname => $listname);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventreggetusersfromgroup: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The code group to list users. (default to null)
listname = listname_example # String | The name of the list to get. (default to null)

try: 
    # Lists the registrations for a course group
    api_instance.eventreggetusersfromgroup(token, codegroup, listname)
except ApiException as e:
    print("Exception when calling DefaultApi->eventreggetusersfromgroup: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let listname = listname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventreggetusersfromgroup(token, codegroup, listname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
codegroup*
UUID (uuid)
The code group to list users.
Required
listname*
String
The name of the list to get.
Required

Responses


eventreggetuserstoall

View the users that are registered to all courses

Allows the user to view all staff members available for all courses.


/eventreggetuserstoall

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventreggetuserstoall?token=&listname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String listname = listname_example; // String | The name of the list to get.
        try {
            apiInstance.eventreggetuserstoall(token, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventreggetuserstoall");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String listname = listname_example; // String | The name of the list to get.
        try {
            apiInstance.eventreggetuserstoall(token, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventreggetuserstoall");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *listname = listname_example; // The name of the list to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View the users that are registered to all courses
[apiInstance eventreggetuserstoallWith:token
    listname:listname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var listname = listname_example; // {String} The name of the list to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventreggetuserstoall(token, listname, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventreggetuserstoallExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var listname = listname_example;  // String | The name of the list to get. (default to null)

            try
            {
                // View the users that are registered to all courses
                apiInstance.eventreggetuserstoall(token, listname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventreggetuserstoall: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$listname = listname_example; // String | The name of the list to get.

try {
    $api_instance->eventreggetuserstoall($token, $listname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventreggetuserstoall: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $listname = listname_example; # String | The name of the list to get.

eval { 
    $api_instance->eventreggetuserstoall(token => $token, listname => $listname);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventreggetuserstoall: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
listname = listname_example # String | The name of the list to get. (default to null)

try: 
    # View the users that are registered to all courses
    api_instance.eventreggetuserstoall(token, listname)
except ApiException as e:
    print("Exception when calling DefaultApi->eventreggetuserstoall: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let listname = listname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventreggetuserstoall(token, listname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
listname*
String
The name of the list to get.
Required

Responses


eventregremoveme

Unregister current user from a course

Allows the user to remove themselves from registration to a course.


/eventregremoveme

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventregremoveme?token=&eventid=&listname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
        String listname = listname_example; // String | The name of the list where the user is registered.
        try {
            apiInstance.eventregremoveme(token, eventid, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregremoveme");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
        String listname = listname_example; // String | The name of the list where the user is registered.
        try {
            apiInstance.eventregremoveme(token, eventid, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregremoveme");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event. (default to null)
String *listname = listname_example; // The name of the list where the user is registered. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Unregister current user from a course
[apiInstance eventregremovemeWith:token
    eventid:eventid
    listname:listname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the event.
var listname = listname_example; // {String} The name of the list where the user is registered.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventregremoveme(token, eventid, listname, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventregremovemeExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var eventid = new UUID(); // UUID | The id of the event. (default to null)
            var listname = listname_example;  // String | The name of the list where the user is registered. (default to null)

            try
            {
                // Unregister current user from a course
                apiInstance.eventregremoveme(token, eventid, listname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventregremoveme: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
$listname = listname_example; // String | The name of the list where the user is registered.

try {
    $api_instance->eventregremoveme($token, $eventid, $listname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventregremoveme: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event.
my $listname = listname_example; # String | The name of the list where the user is registered.

eval { 
    $api_instance->eventregremoveme(token => $token, eventid => $eventid, listname => $listname);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventregremoveme: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event. (default to null)
listname = listname_example # String | The name of the list where the user is registered. (default to null)

try: 
    # Unregister current user from a course
    api_instance.eventregremoveme(token, eventid, listname)
except ApiException as e:
    print("Exception when calling DefaultApi->eventregremoveme: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let listname = listname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventregremoveme(token, eventid, listname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
eventid*
UUID (uuid)
The id of the event.
Required
listname*
String
The name of the list where the user is registered.
Required

Responses


eventregremovemefromall

Remove current user from the registration to all courses

Allows the user to remove themselves from availability to all courses.


/eventregremovemefromall

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventregremovemefromall?token=&listname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String listname = listname_example; // String | The name of the list where the user is registered.
        try {
            apiInstance.eventregremovemefromall(token, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregremovemefromall");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String listname = listname_example; // String | The name of the list where the user is registered.
        try {
            apiInstance.eventregremovemefromall(token, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregremovemefromall");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *listname = listname_example; // The name of the list where the user is registered. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Remove current user from the registration to all courses
[apiInstance eventregremovemefromallWith:token
    listname:listname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var listname = listname_example; // {String} The name of the list where the user is registered.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventregremovemefromall(token, listname, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventregremovemefromallExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var listname = listname_example;  // String | The name of the list where the user is registered. (default to null)

            try
            {
                // Remove current user from the registration to all courses
                apiInstance.eventregremovemefromall(token, listname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventregremovemefromall: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$listname = listname_example; // String | The name of the list where the user is registered.

try {
    $api_instance->eventregremovemefromall($token, $listname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventregremovemefromall: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $listname = listname_example; # String | The name of the list where the user is registered.

eval { 
    $api_instance->eventregremovemefromall(token => $token, listname => $listname);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventregremovemefromall: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
listname = listname_example # String | The name of the list where the user is registered. (default to null)

try: 
    # Remove current user from the registration to all courses
    api_instance.eventregremovemefromall(token, listname)
except ApiException as e:
    print("Exception when calling DefaultApi->eventregremovemefromall: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let listname = listname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventregremovemefromall(token, listname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
listname*
String
The name of the list where the user is registered.
Required

Responses


eventregremovemefromgroup

Remove current user from a course group

Allows the user to remove themselves from availability to a course group.


/eventregremovemefromgroup

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventregremovemefromgroup?token=&codegroup=&listname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The code group of the events/courses.
        String listname = listname_example; // String | The name of the list where the user is registered.
        try {
            apiInstance.eventregremovemefromgroup(token, codegroup, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregremovemefromgroup");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The code group of the events/courses.
        String listname = listname_example; // String | The name of the list where the user is registered.
        try {
            apiInstance.eventregremovemefromgroup(token, codegroup, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregremovemefromgroup");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The code group of the events/courses. (default to null)
String *listname = listname_example; // The name of the list where the user is registered. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Remove current user from a course group
[apiInstance eventregremovemefromgroupWith:token
    codegroup:codegroup
    listname:listname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The code group of the events/courses.
var listname = listname_example; // {String} The name of the list where the user is registered.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventregremovemefromgroup(token, codegroup, listname, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventregremovemefromgroupExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var codegroup = new UUID(); // UUID | The code group of the events/courses. (default to null)
            var listname = listname_example;  // String | The name of the list where the user is registered. (default to null)

            try
            {
                // Remove current user from a course group
                apiInstance.eventregremovemefromgroup(token, codegroup, listname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventregremovemefromgroup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The code group of the events/courses.
$listname = listname_example; // String | The name of the list where the user is registered.

try {
    $api_instance->eventregremovemefromgroup($token, $codegroup, $listname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventregremovemefromgroup: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The code group of the events/courses.
my $listname = listname_example; # String | The name of the list where the user is registered.

eval { 
    $api_instance->eventregremovemefromgroup(token => $token, codegroup => $codegroup, listname => $listname);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventregremovemefromgroup: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The code group of the events/courses. (default to null)
listname = listname_example # String | The name of the list where the user is registered. (default to null)

try: 
    # Remove current user from a course group
    api_instance.eventregremovemefromgroup(token, codegroup, listname)
except ApiException as e:
    print("Exception when calling DefaultApi->eventregremovemefromgroup: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let listname = listname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventregremovemefromgroup(token, codegroup, listname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
codegroup*
UUID (uuid)
The code group of the events/courses.
Required
listname*
String
The name of the list where the user is registered.
Required

Responses


eventregremoveuser

Remove a user from a course

Allows the user to remove a user from a course's registration.


/eventregremoveuser

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventregremoveuser?token=&userid=&eventid=&listname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
        String listname = listname_example; // String | The name of the list where the user is registered.
        try {
            apiInstance.eventregremoveuser(token, userid, eventid, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregremoveuser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
        String listname = listname_example; // String | The name of the list where the user is registered.
        try {
            apiInstance.eventregremoveuser(token, userid, eventid, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregremoveuser");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to remove. (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event. (default to null)
String *listname = listname_example; // The name of the list where the user is registered. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Remove a user from a course
[apiInstance eventregremoveuserWith:token
    userid:userid
    eventid:eventid
    listname:listname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to remove.
var eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the event.
var listname = listname_example; // {String} The name of the list where the user is registered.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventregremoveuser(token, userid, eventid, listname, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventregremoveuserExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to remove. (default to null)
            var eventid = new UUID(); // UUID | The id of the event. (default to null)
            var listname = listname_example;  // String | The name of the list where the user is registered. (default to null)

            try
            {
                // Remove a user from a course
                apiInstance.eventregremoveuser(token, userid, eventid, listname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventregremoveuser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
$listname = listname_example; // String | The name of the list where the user is registered.

try {
    $api_instance->eventregremoveuser($token, $userid, $eventid, $listname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventregremoveuser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to remove.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event.
my $listname = listname_example; # String | The name of the list where the user is registered.

eval { 
    $api_instance->eventregremoveuser(token => $token, userid => $userid, eventid => $eventid, listname => $listname);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventregremoveuser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to remove. (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event. (default to null)
listname = listname_example # String | The name of the list where the user is registered. (default to null)

try: 
    # Remove a user from a course
    api_instance.eventregremoveuser(token, userid, eventid, listname)
except ApiException as e:
    print("Exception when calling DefaultApi->eventregremoveuser: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let listname = listname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventregremoveuser(token, userid, eventid, listname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to remove.
Required
eventid*
UUID (uuid)
The id of the event.
Required
listname*
String
The name of the list where the user is registered.
Required

Responses


eventregremoveuserfromall

Remove a user from the registration to all courses

Allows the user to remove a staff member from availability to all courses.


/eventregremoveuserfromall

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventregremoveuserfromall?token=&userid=&listname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
        String listname = listname_example; // String | The name of the list where the user is registered.
        try {
            apiInstance.eventregremoveuserfromall(token, userid, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregremoveuserfromall");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
        String listname = listname_example; // String | The name of the list where the user is registered.
        try {
            apiInstance.eventregremoveuserfromall(token, userid, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregremoveuserfromall");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to remove. (default to null)
String *listname = listname_example; // The name of the list where the user is registered. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Remove a user from the registration to all courses
[apiInstance eventregremoveuserfromallWith:token
    userid:userid
    listname:listname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to remove.
var listname = listname_example; // {String} The name of the list where the user is registered.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventregremoveuserfromall(token, userid, listname, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventregremoveuserfromallExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to remove. (default to null)
            var listname = listname_example;  // String | The name of the list where the user is registered. (default to null)

            try
            {
                // Remove a user from the registration to all courses
                apiInstance.eventregremoveuserfromall(token, userid, listname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventregremoveuserfromall: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
$listname = listname_example; // String | The name of the list where the user is registered.

try {
    $api_instance->eventregremoveuserfromall($token, $userid, $listname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventregremoveuserfromall: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to remove.
my $listname = listname_example; # String | The name of the list where the user is registered.

eval { 
    $api_instance->eventregremoveuserfromall(token => $token, userid => $userid, listname => $listname);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventregremoveuserfromall: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to remove. (default to null)
listname = listname_example # String | The name of the list where the user is registered. (default to null)

try: 
    # Remove a user from the registration to all courses
    api_instance.eventregremoveuserfromall(token, userid, listname)
except ApiException as e:
    print("Exception when calling DefaultApi->eventregremoveuserfromall: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let listname = listname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventregremoveuserfromall(token, userid, listname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to remove.
Required
listname*
String
The name of the list where the user is registered.
Required

Responses


eventregremoveuserfromgroup

Remove a user from a course group

Allows the user to remove a staff member from availability to a course group.


/eventregremoveuserfromgroup

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventregremoveuserfromgroup?token=&userid=&codegroup=&listname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
        UUID codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The code group of the events/courses.
        String listname = listname_example; // String | The name of the list where the user is registered.
        try {
            apiInstance.eventregremoveuserfromgroup(token, userid, codegroup, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregremoveuserfromgroup");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
        UUID codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The code group of the events/courses.
        String listname = listname_example; // String | The name of the list where the user is registered.
        try {
            apiInstance.eventregremoveuserfromgroup(token, userid, codegroup, listname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventregremoveuserfromgroup");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to remove. (default to null)
UUID *codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The code group of the events/courses. (default to null)
String *listname = listname_example; // The name of the list where the user is registered. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Remove a user from a course group
[apiInstance eventregremoveuserfromgroupWith:token
    userid:userid
    codegroup:codegroup
    listname:listname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to remove.
var codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The code group of the events/courses.
var listname = listname_example; // {String} The name of the list where the user is registered.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventregremoveuserfromgroup(token, userid, codegroup, listname, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventregremoveuserfromgroupExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to remove. (default to null)
            var codegroup = new UUID(); // UUID | The code group of the events/courses. (default to null)
            var listname = listname_example;  // String | The name of the list where the user is registered. (default to null)

            try
            {
                // Remove a user from a course group
                apiInstance.eventregremoveuserfromgroup(token, userid, codegroup, listname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventregremoveuserfromgroup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
$codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The code group of the events/courses.
$listname = listname_example; // String | The name of the list where the user is registered.

try {
    $api_instance->eventregremoveuserfromgroup($token, $userid, $codegroup, $listname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventregremoveuserfromgroup: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to remove.
my $codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The code group of the events/courses.
my $listname = listname_example; # String | The name of the list where the user is registered.

eval { 
    $api_instance->eventregremoveuserfromgroup(token => $token, userid => $userid, codegroup => $codegroup, listname => $listname);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventregremoveuserfromgroup: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to remove. (default to null)
codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The code group of the events/courses. (default to null)
listname = listname_example # String | The name of the list where the user is registered. (default to null)

try: 
    # Remove a user from a course group
    api_instance.eventregremoveuserfromgroup(token, userid, codegroup, listname)
except ApiException as e:
    print("Exception when calling DefaultApi->eventregremoveuserfromgroup: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let codegroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let listname = listname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.eventregremoveuserfromgroup(token, userid, codegroup, listname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to remove.
Required
codegroup*
UUID (uuid)
The code group of the events/courses.
Required
listname*
String
The name of the list where the user is registered.
Required

Responses


eventsave

Create or edit a course

Allows the user to create or edit a course.


/eventsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/eventsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.eventsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.eventsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a course
[apiInstance eventsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a course
                apiInstance.eventsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->eventsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->eventsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a course
    api_instance.eventsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->eventsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.eventsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


eventsearchgroup

Searches for the available event groups


/eventsearchgroup

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/eventsearchgroup?token=&query="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID query = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Query to search event groups.
        try {
            apiInstance.eventsearchgroup(token, query);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventsearchgroup");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID query = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Query to search event groups.
        try {
            apiInstance.eventsearchgroup(token, query);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eventsearchgroup");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *query = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Query to search event groups. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Searches for the available event groups
[apiInstance eventsearchgroupWith:token
    query:query
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var query = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} Query to search event groups.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventsearchgroup(token, query, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class eventsearchgroupExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var query = new UUID(); // UUID | Query to search event groups. (default to null)

            try
            {
                // Searches for the available event groups
                apiInstance.eventsearchgroup(token, query);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eventsearchgroup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$query = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Query to search event groups.

try {
    $api_instance->eventsearchgroup($token, $query);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eventsearchgroup: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $query = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Query to search event groups.

eval { 
    $api_instance->eventsearchgroup(token => $token, query => $query);
};
if ($@) {
    warn "Exception when calling DefaultApi->eventsearchgroup: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
query = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Query to search event groups. (default to null)

try: 
    # Searches for the available event groups
    api_instance.eventsearchgroup(token, query)
except ApiException as e:
    print("Exception when calling DefaultApi->eventsearchgroup: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let query = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.eventsearchgroup(token, query, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
query*
UUID (uuid)
Query to search event groups.
Required

Responses


export

Export AccuCampus data

Allows the user to export data from AccuCampus into a CSV, HTML, or Excel format.


/export

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/export?token=&exporttype=&exportformat=&filters="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String exporttype = exporttype_example; // String | What to export.
        String exportformat = exportformat_example; // String | The format of the resulting file. Valid types are CSV, HTML, XLS.
        String filters = filters_example; // String | Pipe separated filters for the export, eg: aaa=val|bbb=val|...
        try {
            apiInstance.export(token, exporttype, exportformat, filters);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#export");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String exporttype = exporttype_example; // String | What to export.
        String exportformat = exportformat_example; // String | The format of the resulting file. Valid types are CSV, HTML, XLS.
        String filters = filters_example; // String | Pipe separated filters for the export, eg: aaa=val|bbb=val|...
        try {
            apiInstance.export(token, exporttype, exportformat, filters);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#export");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *exporttype = exporttype_example; // What to export. (default to null)
String *exportformat = exportformat_example; // The format of the resulting file. Valid types are CSV, HTML, XLS. (default to null)
String *filters = filters_example; // Pipe separated filters for the export, eg: aaa=val|bbb=val|... (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Export AccuCampus data
[apiInstance exportWith:token
    exporttype:exporttype
    exportformat:exportformat
    filters:filters
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var exporttype = exporttype_example; // {String} What to export.
var exportformat = exportformat_example; // {String} The format of the resulting file. Valid types are CSV, HTML, XLS.
var opts = {
  'filters': filters_example // {String} Pipe separated filters for the export, eg: aaa=val|bbb=val|...
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.export(token, exporttype, exportformat, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class exportExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var exporttype = exporttype_example;  // String | What to export. (default to null)
            var exportformat = exportformat_example;  // String | The format of the resulting file. Valid types are CSV, HTML, XLS. (default to null)
            var filters = filters_example;  // String | Pipe separated filters for the export, eg: aaa=val|bbb=val|... (optional)  (default to null)

            try
            {
                // Export AccuCampus data
                apiInstance.export(token, exporttype, exportformat, filters);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.export: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$exporttype = exporttype_example; // String | What to export.
$exportformat = exportformat_example; // String | The format of the resulting file. Valid types are CSV, HTML, XLS.
$filters = filters_example; // String | Pipe separated filters for the export, eg: aaa=val|bbb=val|...

try {
    $api_instance->export($token, $exporttype, $exportformat, $filters);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->export: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $exporttype = exporttype_example; # String | What to export.
my $exportformat = exportformat_example; # String | The format of the resulting file. Valid types are CSV, HTML, XLS.
my $filters = filters_example; # String | Pipe separated filters for the export, eg: aaa=val|bbb=val|...

eval { 
    $api_instance->export(token => $token, exporttype => $exporttype, exportformat => $exportformat, filters => $filters);
};
if ($@) {
    warn "Exception when calling DefaultApi->export: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
exporttype = exporttype_example # String | What to export. (default to null)
exportformat = exportformat_example # String | The format of the resulting file. Valid types are CSV, HTML, XLS. (default to null)
filters = filters_example # String | Pipe separated filters for the export, eg: aaa=val|bbb=val|... (optional) (default to null)

try: 
    # Export AccuCampus data
    api_instance.export(token, exporttype, exportformat, filters=filters)
except ApiException as e:
    print("Exception when calling DefaultApi->export: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let exporttype = exporttype_example; // String
    let exportformat = exportformat_example; // String
    let filters = filters_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.export(token, exporttype, exportformat, filters, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
exporttype*
String
What to export.
Required
exportformat*
String
The format of the resulting file. Valid types are CSV, HTML, XLS.
Required
filters
String
Pipe separated filters for the export, eg: aaa=val|bbb=val|...

Responses


exportlisttypes

Lists available export types


/exportlisttypes

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/exportlisttypes?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.exportlisttypes(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#exportlisttypes");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.exportlisttypes(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#exportlisttypes");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists available export types
[apiInstance exportlisttypesWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.exportlisttypes(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class exportlisttypesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Lists available export types
                apiInstance.exportlisttypes(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.exportlisttypes: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->exportlisttypes($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->exportlisttypes: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->exportlisttypes(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->exportlisttypes: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Lists available export types
    api_instance.exportlisttypes(token)
except ApiException as e:
    print("Exception when calling DefaultApi->exportlisttypes: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.exportlisttypes(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


featurelist

Lists the available features.


/featurelist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/featurelist?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.featurelist(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#featurelist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.featurelist(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#featurelist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists the available features.
[apiInstance featurelistWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.featurelist(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class featurelistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Lists the available features.
                apiInstance.featurelist(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.featurelist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->featurelist($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->featurelist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->featurelist(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->featurelist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Lists the available features.
    api_instance.featurelist(token)
except ApiException as e:
    print("Exception when calling DefaultApi->featurelist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.featurelist(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


holidaylist

View a list of entered holidays

Allows the user to view all holidays entered.


/holidaylist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/holidaylist?token=&term="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The term to get holidays from.
        try {
            apiInstance.holidaylist(token, term);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#holidaylist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The term to get holidays from.
        try {
            apiInstance.holidaylist(token, term);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#holidaylist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The term to get holidays from. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of entered holidays
[apiInstance holidaylistWith:token
    term:term
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The term to get holidays from.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.holidaylist(token, term, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class holidaylistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var term = new UUID(); // UUID | The term to get holidays from. (default to null)

            try
            {
                // View a list of entered holidays
                apiInstance.holidaylist(token, term);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.holidaylist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The term to get holidays from.

try {
    $api_instance->holidaylist($token, $term);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->holidaylist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The term to get holidays from.

eval { 
    $api_instance->holidaylist(token => $token, term => $term);
};
if ($@) {
    warn "Exception when calling DefaultApi->holidaylist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
term = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The term to get holidays from. (default to null)

try: 
    # View a list of entered holidays
    api_instance.holidaylist(token, term)
except ApiException as e:
    print("Exception when calling DefaultApi->holidaylist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.holidaylist(token, term, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
term*
UUID (uuid)
The term to get holidays from.
Required

Responses


holidaysave

Create or edit a list of holidays

Allows the user to create or edit holidays.


/holidaysave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/holidaysave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.holidaysave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#holidaysave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.holidaysave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#holidaysave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a list of holidays
[apiInstance holidaysaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.holidaysave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class holidaysaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a list of holidays
                apiInstance.holidaysave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.holidaysave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->holidaysave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->holidaysave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->holidaysave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->holidaysave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a list of holidays
    api_instance.holidaysave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->holidaysave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.holidaysave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


holidaysuggest

View the holiday suggestions in the given term

Allows the user to view the holiday suggestions for each term.


/holidaysuggest

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/holidaysuggest?token=&term="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The term to get holidays from.
        try {
            apiInstance.holidaysuggest(token, term);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#holidaysuggest");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The term to get holidays from.
        try {
            apiInstance.holidaysuggest(token, term);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#holidaysuggest");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The term to get holidays from. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View the holiday suggestions in the given term
[apiInstance holidaysuggestWith:token
    term:term
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The term to get holidays from.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.holidaysuggest(token, term, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class holidaysuggestExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var term = new UUID(); // UUID | The term to get holidays from. (default to null)

            try
            {
                // View the holiday suggestions in the given term
                apiInstance.holidaysuggest(token, term);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.holidaysuggest: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The term to get holidays from.

try {
    $api_instance->holidaysuggest($token, $term);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->holidaysuggest: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The term to get holidays from.

eval { 
    $api_instance->holidaysuggest(token => $token, term => $term);
};
if ($@) {
    warn "Exception when calling DefaultApi->holidaysuggest: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
term = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The term to get holidays from. (default to null)

try: 
    # View the holiday suggestions in the given term
    api_instance.holidaysuggest(token, term)
except ApiException as e:
    print("Exception when calling DefaultApi->holidaysuggest: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let term = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.holidaysuggest(token, term, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
term*
UUID (uuid)
The term to get holidays from.
Required

Responses


import

Import data into AccuCampus

Allows the user to import data into AccuCampus via CSV or flat files either manually or automatically using the import utility.


/import

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/import?token=&importtype=&upload=&filename=¶meters="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String importtype = importtype_example; // String | The kind of data that is being uploaded.
        String upload = upload_example; // String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
        String filename = filename_example; // String | The local name of the uploaded file. For later reference.
        String parameters = parameters_example; // String | Import parameters, in a key-value pair JSON-serialized object. Eg {'parameter':'value'}.
        try {
            apiInstance.import(token, importtype, upload, filename, parameters);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#import");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String importtype = importtype_example; // String | The kind of data that is being uploaded.
        String upload = upload_example; // String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
        String filename = filename_example; // String | The local name of the uploaded file. For later reference.
        String parameters = parameters_example; // String | Import parameters, in a key-value pair JSON-serialized object. Eg {'parameter':'value'}.
        try {
            apiInstance.import(token, importtype, upload, filename, parameters);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#import");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *importtype = importtype_example; // The kind of data that is being uploaded. (default to null)
String *upload = upload_example; // Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object). (default to null)
String *filename = filename_example; // The local name of the uploaded file. For later reference. (optional) (default to null)
String *parameters = parameters_example; // Import parameters, in a key-value pair JSON-serialized object. Eg {'parameter':'value'}. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Import data into AccuCampus
[apiInstance importWith:token
    importtype:importtype
    upload:upload
    filename:filename
    parameters:parameters
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var importtype = importtype_example; // {String} The kind of data that is being uploaded.
var upload = upload_example; // {String} Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
var opts = {
  'filename': filename_example, // {String} The local name of the uploaded file. For later reference.
  'parameters': parameters_example // {String} Import parameters, in a key-value pair JSON-serialized object. Eg {'parameter':'value'}.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.import(token, importtype, upload, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class importExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var importtype = importtype_example;  // String | The kind of data that is being uploaded. (default to null)
            var upload = upload_example;  // String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object). (default to null)
            var filename = filename_example;  // String | The local name of the uploaded file. For later reference. (optional)  (default to null)
            var parameters = parameters_example;  // String | Import parameters, in a key-value pair JSON-serialized object. Eg {'parameter':'value'}. (optional)  (default to null)

            try
            {
                // Import data into AccuCampus
                apiInstance.import(token, importtype, upload, filename, parameters);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.import: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$importtype = importtype_example; // String | The kind of data that is being uploaded.
$upload = upload_example; // String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
$filename = filename_example; // String | The local name of the uploaded file. For later reference.
$parameters = parameters_example; // String | Import parameters, in a key-value pair JSON-serialized object. Eg {'parameter':'value'}.

try {
    $api_instance->import($token, $importtype, $upload, $filename, $parameters);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->import: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $importtype = importtype_example; # String | The kind of data that is being uploaded.
my $upload = upload_example; # String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
my $filename = filename_example; # String | The local name of the uploaded file. For later reference.
my $parameters = parameters_example; # String | Import parameters, in a key-value pair JSON-serialized object. Eg {'parameter':'value'}.

eval { 
    $api_instance->import(token => $token, importtype => $importtype, upload => $upload, filename => $filename, parameters => $parameters);
};
if ($@) {
    warn "Exception when calling DefaultApi->import: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
importtype = importtype_example # String | The kind of data that is being uploaded. (default to null)
upload = upload_example # String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object). (default to null)
filename = filename_example # String | The local name of the uploaded file. For later reference. (optional) (default to null)
parameters = parameters_example # String | Import parameters, in a key-value pair JSON-serialized object. Eg {'parameter':'value'}. (optional) (default to null)

try: 
    # Import data into AccuCampus
    api_instance.import(token, importtype, upload, filename=filename, parameters=parameters)
except ApiException as e:
    print("Exception when calling DefaultApi->import: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let importtype = importtype_example; // String
    let upload = upload_example; // String
    let filename = filename_example; // String
    let parameters = parameters_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.import(token, importtype, upload, filename, parameters, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
importtype*
String
The kind of data that is being uploaded.
Required
upload*
String
Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
Required
filename
String
The local name of the uploaded file. For later reference.
parameters
String
Import parameters, in a key-value pair JSON-serialized object. Eg {'parameter':'value'}.

Responses


importlisttypes

Lists available import types


/importlisttypes

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/importlisttypes?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.importlisttypes(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#importlisttypes");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.importlisttypes(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#importlisttypes");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists available import types
[apiInstance importlisttypesWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.importlisttypes(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class importlisttypesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Lists available import types
                apiInstance.importlisttypes(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.importlisttypes: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->importlisttypes($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->importlisttypes: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->importlisttypes(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->importlisttypes: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Lists available import types
    api_instance.importlisttypes(token)
except ApiException as e:
    print("Exception when calling DefaultApi->importlisttypes: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.importlisttypes(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


interactiondelete

Delete an interaction


/interactiondelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/interactiondelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the interaction to delete.
        try {
            apiInstance.interactiondelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#interactiondelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the interaction to delete.
        try {
            apiInstance.interactiondelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#interactiondelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the interaction to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete an interaction
[apiInstance interactiondeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the interaction to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.interactiondelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class interactiondeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the interaction to delete. (default to null)

            try
            {
                // Delete an interaction
                apiInstance.interactiondelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.interactiondelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the interaction to delete.

try {
    $api_instance->interactiondelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->interactiondelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the interaction to delete.

eval { 
    $api_instance->interactiondelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->interactiondelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the interaction to delete. (default to null)

try: 
    # Delete an interaction
    api_instance.interactiondelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->interactiondelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.interactiondelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the interaction to delete.
Required

Responses


interactionfeed

Get the interactions feed


/interactionfeed

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/interactionfeed?token=&from=&count=&startdate=&public=&contexttype=&contextid=&types=&photosize=&showdefaultphoto=&orderdescending="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Date startdate = 2013-10-20T19:20:30+01:00; // Date | If set, only interactions that happened after this date are returned.
        Boolean public = true; // Boolean | Specifies whether to return public or private interactions.
        String contexttype = contexttype_example; // String | The type of the context of the interactions to return.
        UUID contextid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the context of the interactions to return.
        String types = types_example; // String | The  comma separated types of the interactions to return.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        Boolean showdefaultphoto = true; // Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.
        Boolean orderdescending = true; // Boolean | If true, last interactions will be shown first. Otherwise, interactions will be ordered ascendantly.
        try {
            apiInstance.interactionfeed(token, from, count, startdate, public, contexttype, contextid, types, photosize, showdefaultphoto, orderdescending);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#interactionfeed");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Date startdate = 2013-10-20T19:20:30+01:00; // Date | If set, only interactions that happened after this date are returned.
        Boolean public = true; // Boolean | Specifies whether to return public or private interactions.
        String contexttype = contexttype_example; // String | The type of the context of the interactions to return.
        UUID contextid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the context of the interactions to return.
        String types = types_example; // String | The  comma separated types of the interactions to return.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        Boolean showdefaultphoto = true; // Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.
        Boolean orderdescending = true; // Boolean | If true, last interactions will be shown first. Otherwise, interactions will be ordered ascendantly.
        try {
            apiInstance.interactionfeed(token, from, count, startdate, public, contexttype, contextid, types, photosize, showdefaultphoto, orderdescending);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#interactionfeed");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
Date *startdate = 2013-10-20T19:20:30+01:00; // If set, only interactions that happened after this date are returned. (optional) (default to null)
Boolean *public = true; // Specifies whether to return public or private interactions. (optional) (default to null)
String *contexttype = contexttype_example; // The type of the context of the interactions to return. (optional) (default to null)
UUID *contextid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the context of the interactions to return. (optional) (default to null)
String *types = types_example; // The  comma separated types of the interactions to return. (optional) (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)
Boolean *showdefaultphoto = true; // If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned. (optional) (default to null)
Boolean *orderdescending = true; // If true, last interactions will be shown first. Otherwise, interactions will be ordered ascendantly. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get the interactions feed
[apiInstance interactionfeedWith:token
    from:from
    count:count
    startdate:startdate
    public:public
    contexttype:contexttype
    contextid:contextid
    types:types
    photosize:photosize
    showdefaultphoto:showdefaultphoto
    orderdescending:orderdescending
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'startdate': 2013-10-20T19:20:30+01:00, // {Date} If set, only interactions that happened after this date are returned.
  'public': true, // {Boolean} Specifies whether to return public or private interactions.
  'contexttype': contexttype_example, // {String} The type of the context of the interactions to return.
  'contextid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the context of the interactions to return.
  'types': types_example, // {String} The  comma separated types of the interactions to return.
  'photosize': 56, // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
  'showdefaultphoto': true, // {Boolean} If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.
  'orderdescending': true // {Boolean} If true, last interactions will be shown first. Otherwise, interactions will be ordered ascendantly.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.interactionfeed(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class interactionfeedExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var startdate = 2013-10-20T19:20:30+01:00;  // Date | If set, only interactions that happened after this date are returned. (optional)  (default to null)
            var public = true;  // Boolean | Specifies whether to return public or private interactions. (optional)  (default to null)
            var contexttype = contexttype_example;  // String | The type of the context of the interactions to return. (optional)  (default to null)
            var contextid = new UUID(); // UUID | The id of the context of the interactions to return. (optional)  (default to null)
            var types = types_example;  // String | The  comma separated types of the interactions to return. (optional)  (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)
            var showdefaultphoto = true;  // Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned. (optional)  (default to null)
            var orderdescending = true;  // Boolean | If true, last interactions will be shown first. Otherwise, interactions will be ordered ascendantly. (optional)  (default to null)

            try
            {
                // Get the interactions feed
                apiInstance.interactionfeed(token, from, count, startdate, public, contexttype, contextid, types, photosize, showdefaultphoto, orderdescending);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.interactionfeed: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$startdate = 2013-10-20T19:20:30+01:00; // Date | If set, only interactions that happened after this date are returned.
$public = true; // Boolean | Specifies whether to return public or private interactions.
$contexttype = contexttype_example; // String | The type of the context of the interactions to return.
$contextid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the context of the interactions to return.
$types = types_example; // String | The  comma separated types of the interactions to return.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
$showdefaultphoto = true; // Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.
$orderdescending = true; // Boolean | If true, last interactions will be shown first. Otherwise, interactions will be ordered ascendantly.

try {
    $api_instance->interactionfeed($token, $from, $count, $startdate, $public, $contexttype, $contextid, $types, $photosize, $showdefaultphoto, $orderdescending);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->interactionfeed: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $startdate = 2013-10-20T19:20:30+01:00; # Date | If set, only interactions that happened after this date are returned.
my $public = true; # Boolean | Specifies whether to return public or private interactions.
my $contexttype = contexttype_example; # String | The type of the context of the interactions to return.
my $contextid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the context of the interactions to return.
my $types = types_example; # String | The  comma separated types of the interactions to return.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
my $showdefaultphoto = true; # Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.
my $orderdescending = true; # Boolean | If true, last interactions will be shown first. Otherwise, interactions will be ordered ascendantly.

eval { 
    $api_instance->interactionfeed(token => $token, from => $from, count => $count, startdate => $startdate, public => $public, contexttype => $contexttype, contextid => $contextid, types => $types, photosize => $photosize, showdefaultphoto => $showdefaultphoto, orderdescending => $orderdescending);
};
if ($@) {
    warn "Exception when calling DefaultApi->interactionfeed: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
startdate = 2013-10-20T19:20:30+01:00 # Date | If set, only interactions that happened after this date are returned. (optional) (default to null)
public = true # Boolean | Specifies whether to return public or private interactions. (optional) (default to null)
contexttype = contexttype_example # String | The type of the context of the interactions to return. (optional) (default to null)
contextid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the context of the interactions to return. (optional) (default to null)
types = types_example # String | The  comma separated types of the interactions to return. (optional) (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)
showdefaultphoto = true # Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned. (optional) (default to null)
orderdescending = true # Boolean | If true, last interactions will be shown first. Otherwise, interactions will be ordered ascendantly. (optional) (default to null)

try: 
    # Get the interactions feed
    api_instance.interactionfeed(token, from, count, startdate=startdate, public=public, contexttype=contexttype, contextid=contextid, types=types, photosize=photosize, showdefaultphoto=showdefaultphoto, orderdescending=orderdescending)
except ApiException as e:
    print("Exception when calling DefaultApi->interactionfeed: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let startdate = 2013-10-20T19:20:30+01:00; // Date
    let public = true; // Boolean
    let contexttype = contexttype_example; // String
    let contextid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let types = types_example; // String
    let photosize = 56; // Integer
    let showdefaultphoto = true; // Boolean
    let orderdescending = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.interactionfeed(token, from, count, startdate, public, contexttype, contextid, types, photosize, showdefaultphoto, orderdescending, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
startdate
Date (date-time)
If set, only interactions that happened after this date are returned.
public
Boolean
Specifies whether to return public or private interactions.
contexttype
String
The type of the context of the interactions to return.
contextid
UUID (uuid)
The id of the context of the interactions to return.
types
String
The comma separated types of the interactions to return.
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
showdefaultphoto
Boolean
If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.
orderdescending
Boolean
If true, last interactions will be shown first. Otherwise, interactions will be ordered ascendantly.

Responses


interactionget

View an interaction


/interactionget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/interactionget?token=&id=&thumbnailmediasize=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String id = id_example; // String | The id of the interaction.
        Integer thumbnailmediasize = 56; // Integer | The size in pixels of the thumbnail media URLs returned. Defaults to 680. If the size specified is not available, a similar one will be returned.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.interactionget(token, id, thumbnailmediasize, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#interactionget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String id = id_example; // String | The id of the interaction.
        Integer thumbnailmediasize = 56; // Integer | The size in pixels of the thumbnail media URLs returned. Defaults to 680. If the size specified is not available, a similar one will be returned.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.interactionget(token, id, thumbnailmediasize, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#interactionget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *id = id_example; // The id of the interaction. (default to null)
Integer *thumbnailmediasize = 56; // The size in pixels of the thumbnail media URLs returned. Defaults to 680. If the size specified is not available, a similar one will be returned. (optional) (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View an interaction
[apiInstance interactiongetWith:token
    id:id
    thumbnailmediasize:thumbnailmediasize
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = id_example; // {String} The id of the interaction.
var opts = {
  'thumbnailmediasize': 56, // {Integer} The size in pixels of the thumbnail media URLs returned. Defaults to 680. If the size specified is not available, a similar one will be returned.
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.interactionget(token, id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class interactiongetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = id_example;  // String | The id of the interaction. (default to null)
            var thumbnailmediasize = 56;  // Integer | The size in pixels of the thumbnail media URLs returned. Defaults to 680. If the size specified is not available, a similar one will be returned. (optional)  (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // View an interaction
                apiInstance.interactionget(token, id, thumbnailmediasize, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.interactionget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = id_example; // String | The id of the interaction.
$thumbnailmediasize = 56; // Integer | The size in pixels of the thumbnail media URLs returned. Defaults to 680. If the size specified is not available, a similar one will be returned.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->interactionget($token, $id, $thumbnailmediasize, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->interactionget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = id_example; # String | The id of the interaction.
my $thumbnailmediasize = 56; # Integer | The size in pixels of the thumbnail media URLs returned. Defaults to 680. If the size specified is not available, a similar one will be returned.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->interactionget(token => $token, id => $id, thumbnailmediasize => $thumbnailmediasize, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->interactionget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = id_example # String | The id of the interaction. (default to null)
thumbnailmediasize = 56 # Integer | The size in pixels of the thumbnail media URLs returned. Defaults to 680. If the size specified is not available, a similar one will be returned. (optional) (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # View an interaction
    api_instance.interactionget(token, id, thumbnailmediasize=thumbnailmediasize, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->interactionget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = id_example; // String
    let thumbnailmediasize = 56; // Integer
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.interactionget(token, id, thumbnailmediasize, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
String
The id of the interaction.
Required
thumbnailmediasize
Integer (int32)
The size in pixels of the thumbnail media URLs returned. Defaults to 680. If the size specified is not available, a similar one will be returned.
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


interactionlistprivatesummary

Get current user's latest private interactions


/interactionlistprivatesummary

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/interactionlistprivatesummary?token=&photosize=&showdefaultphoto="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        Boolean showdefaultphoto = true; // Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.
        try {
            apiInstance.interactionlistprivatesummary(token, photosize, showdefaultphoto);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#interactionlistprivatesummary");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        Boolean showdefaultphoto = true; // Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.
        try {
            apiInstance.interactionlistprivatesummary(token, photosize, showdefaultphoto);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#interactionlistprivatesummary");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)
Boolean *showdefaultphoto = true; // If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get current user's latest private interactions
[apiInstance interactionlistprivatesummaryWith:token
    photosize:photosize
    showdefaultphoto:showdefaultphoto
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'photosize': 56, // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
  'showdefaultphoto': true // {Boolean} If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.interactionlistprivatesummary(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class interactionlistprivatesummaryExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)
            var showdefaultphoto = true;  // Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned. (optional)  (default to null)

            try
            {
                // Get current user's latest private interactions
                apiInstance.interactionlistprivatesummary(token, photosize, showdefaultphoto);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.interactionlistprivatesummary: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
$showdefaultphoto = true; // Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.

try {
    $api_instance->interactionlistprivatesummary($token, $photosize, $showdefaultphoto);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->interactionlistprivatesummary: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
my $showdefaultphoto = true; # Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.

eval { 
    $api_instance->interactionlistprivatesummary(token => $token, photosize => $photosize, showdefaultphoto => $showdefaultphoto);
};
if ($@) {
    warn "Exception when calling DefaultApi->interactionlistprivatesummary: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)
showdefaultphoto = true # Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned. (optional) (default to null)

try: 
    # Get current user's latest private interactions
    api_instance.interactionlistprivatesummary(token, photosize=photosize, showdefaultphoto=showdefaultphoto)
except ApiException as e:
    print("Exception when calling DefaultApi->interactionlistprivatesummary: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let photosize = 56; // Integer
    let showdefaultphoto = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.interactionlistprivatesummary(token, photosize, showdefaultphoto, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
showdefaultphoto
Boolean
If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.

Responses


interactionsave

Save an interaction


/interactionsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/interactionsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.interactionsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#interactionsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.interactionsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#interactionsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Save an interaction
[apiInstance interactionsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.interactionsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class interactionsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Save an interaction
                apiInstance.interactionsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.interactionsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->interactionsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->interactionsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->interactionsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->interactionsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Save an interaction
    api_instance.interactionsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->interactionsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.interactionsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


licenseacceptagreement

Accept the license agreement


/licenseacceptagreement

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/licenseacceptagreement?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.licenseacceptagreement(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#licenseacceptagreement");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.licenseacceptagreement(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#licenseacceptagreement");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Accept the license agreement
[apiInstance licenseacceptagreementWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.licenseacceptagreement(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class licenseacceptagreementExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Accept the license agreement
                apiInstance.licenseacceptagreement(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.licenseacceptagreement: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->licenseacceptagreement($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->licenseacceptagreement: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->licenseacceptagreement(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->licenseacceptagreement: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Accept the license agreement
    api_instance.licenseacceptagreement(token)
except ApiException as e:
    print("Exception when calling DefaultApi->licenseacceptagreement: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.licenseacceptagreement(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


licensegetagreementstatus

Check if license agreement has been accepted


/licensegetagreementstatus

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/licensegetagreementstatus?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.licensegetagreementstatus(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#licensegetagreementstatus");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.licensegetagreementstatus(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#licensegetagreementstatus");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Check if license agreement has been accepted
[apiInstance licensegetagreementstatusWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.licensegetagreementstatus(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class licensegetagreementstatusExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Check if license agreement has been accepted
                apiInstance.licensegetagreementstatus(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.licensegetagreementstatus: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->licensegetagreementstatus($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->licensegetagreementstatus: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->licensegetagreementstatus(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->licensegetagreementstatus: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Check if license agreement has been accepted
    api_instance.licensegetagreementstatus(token)
except ApiException as e:
    print("Exception when calling DefaultApi->licensegetagreementstatus: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.licensegetagreementstatus(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


licensegetcurrent

Gets the current license information


/licensegetcurrent

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/licensegetcurrent?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.licensegetcurrent(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#licensegetcurrent");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.licensegetcurrent(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#licensegetcurrent");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the current license information
[apiInstance licensegetcurrentWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'token': token_example // {String} The authentication token.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.licensegetcurrent(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class licensegetcurrentExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (optional)  (default to null)

            try
            {
                // Gets the current license information
                apiInstance.licensegetcurrent(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.licensegetcurrent: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->licensegetcurrent($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->licensegetcurrent: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->licensegetcurrent(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->licensegetcurrent: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (optional) (default to null)

try: 
    # Gets the current license information
    api_instance.licensegetcurrent(token=token)
except ApiException as e:
    print("Exception when calling DefaultApi->licensegetcurrent: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.licensegetcurrent(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token
String
The authentication token.

Responses


licenserenew

Contact Engineerica in order to renew the AccuCampus subscription

Allows the user to select the option to contact Engineerica when the AccuCampus account is nearing its renewal date.


/licenserenew

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/licenserenew?token=&email=&phonenumber=&jobtitle=&institution=&comments="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String email = email_example; // String | The e-mail of the user sending the request.
        String phonenumber = phonenumber_example; // String | The phone number of the user sending the request.
        String jobtitle = jobtitle_example; // String | The job title of the user sending the request.
        String institution = institution_example; // String | The institution of the user sending the request.
        String comments = comments_example; // String | Comments entered by the user sending the request.
        try {
            apiInstance.licenserenew(token, email, phonenumber, jobtitle, institution, comments);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#licenserenew");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String email = email_example; // String | The e-mail of the user sending the request.
        String phonenumber = phonenumber_example; // String | The phone number of the user sending the request.
        String jobtitle = jobtitle_example; // String | The job title of the user sending the request.
        String institution = institution_example; // String | The institution of the user sending the request.
        String comments = comments_example; // String | Comments entered by the user sending the request.
        try {
            apiInstance.licenserenew(token, email, phonenumber, jobtitle, institution, comments);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#licenserenew");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *email = email_example; // The e-mail of the user sending the request. (default to null)
String *phonenumber = phonenumber_example; // The phone number of the user sending the request. (default to null)
String *jobtitle = jobtitle_example; // The job title of the user sending the request. (optional) (default to null)
String *institution = institution_example; // The institution of the user sending the request. (optional) (default to null)
String *comments = comments_example; // Comments entered by the user sending the request. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Contact Engineerica in order to renew the AccuCampus subscription
[apiInstance licenserenewWith:token
    email:email
    phonenumber:phonenumber
    jobtitle:jobtitle
    institution:institution
    comments:comments
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var email = email_example; // {String} The e-mail of the user sending the request.
var phonenumber = phonenumber_example; // {String} The phone number of the user sending the request.
var opts = {
  'jobtitle': jobtitle_example, // {String} The job title of the user sending the request.
  'institution': institution_example, // {String} The institution of the user sending the request.
  'comments': comments_example // {String} Comments entered by the user sending the request.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.licenserenew(token, email, phonenumber, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class licenserenewExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var email = email_example;  // String | The e-mail of the user sending the request. (default to null)
            var phonenumber = phonenumber_example;  // String | The phone number of the user sending the request. (default to null)
            var jobtitle = jobtitle_example;  // String | The job title of the user sending the request. (optional)  (default to null)
            var institution = institution_example;  // String | The institution of the user sending the request. (optional)  (default to null)
            var comments = comments_example;  // String | Comments entered by the user sending the request. (optional)  (default to null)

            try
            {
                // Contact Engineerica in order to renew the AccuCampus subscription
                apiInstance.licenserenew(token, email, phonenumber, jobtitle, institution, comments);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.licenserenew: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$email = email_example; // String | The e-mail of the user sending the request.
$phonenumber = phonenumber_example; // String | The phone number of the user sending the request.
$jobtitle = jobtitle_example; // String | The job title of the user sending the request.
$institution = institution_example; // String | The institution of the user sending the request.
$comments = comments_example; // String | Comments entered by the user sending the request.

try {
    $api_instance->licenserenew($token, $email, $phonenumber, $jobtitle, $institution, $comments);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->licenserenew: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $email = email_example; # String | The e-mail of the user sending the request.
my $phonenumber = phonenumber_example; # String | The phone number of the user sending the request.
my $jobtitle = jobtitle_example; # String | The job title of the user sending the request.
my $institution = institution_example; # String | The institution of the user sending the request.
my $comments = comments_example; # String | Comments entered by the user sending the request.

eval { 
    $api_instance->licenserenew(token => $token, email => $email, phonenumber => $phonenumber, jobtitle => $jobtitle, institution => $institution, comments => $comments);
};
if ($@) {
    warn "Exception when calling DefaultApi->licenserenew: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
email = email_example # String | The e-mail of the user sending the request. (default to null)
phonenumber = phonenumber_example # String | The phone number of the user sending the request. (default to null)
jobtitle = jobtitle_example # String | The job title of the user sending the request. (optional) (default to null)
institution = institution_example # String | The institution of the user sending the request. (optional) (default to null)
comments = comments_example # String | Comments entered by the user sending the request. (optional) (default to null)

try: 
    # Contact Engineerica in order to renew the AccuCampus subscription
    api_instance.licenserenew(token, email, phonenumber, jobtitle=jobtitle, institution=institution, comments=comments)
except ApiException as e:
    print("Exception when calling DefaultApi->licenserenew: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let email = email_example; // String
    let phonenumber = phonenumber_example; // String
    let jobtitle = jobtitle_example; // String
    let institution = institution_example; // String
    let comments = comments_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.licenserenew(token, email, phonenumber, jobtitle, institution, comments, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
email*
String
The e-mail of the user sending the request.
Required
phonenumber*
String
The phone number of the user sending the request.
Required
jobtitle
String
The job title of the user sending the request.
institution
String
The institution of the user sending the request.
comments
String
Comments entered by the user sending the request.

Responses


likedelete

Delete a like


/likedelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/likedelete?token=&interactionid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID interactionid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the interaction to unlike.
        try {
            apiInstance.likedelete(token, interactionid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#likedelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID interactionid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the interaction to unlike.
        try {
            apiInstance.likedelete(token, interactionid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#likedelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *interactionid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the interaction to unlike. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a like
[apiInstance likedeleteWith:token
    interactionid:interactionid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var interactionid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the interaction to unlike.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.likedelete(token, interactionid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class likedeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var interactionid = new UUID(); // UUID | The id of the interaction to unlike. (default to null)

            try
            {
                // Delete a like
                apiInstance.likedelete(token, interactionid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.likedelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$interactionid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the interaction to unlike.

try {
    $api_instance->likedelete($token, $interactionid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->likedelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $interactionid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the interaction to unlike.

eval { 
    $api_instance->likedelete(token => $token, interactionid => $interactionid);
};
if ($@) {
    warn "Exception when calling DefaultApi->likedelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
interactionid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the interaction to unlike. (default to null)

try: 
    # Delete a like
    api_instance.likedelete(token, interactionid)
except ApiException as e:
    print("Exception when calling DefaultApi->likedelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let interactionid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.likedelete(token, interactionid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
interactionid*
UUID (uuid)
The id of the interaction to unlike.
Required

Responses


likelist

View all the likes associated to a target


/likelist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/likelist?token=&interactionid=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID interactionid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the interaction to unlike.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.likelist(token, interactionid, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#likelist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID interactionid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the interaction to unlike.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.likelist(token, interactionid, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#likelist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *interactionid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the interaction to unlike. (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View all the likes associated to a target
[apiInstance likelistWith:token
    interactionid:interactionid
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var interactionid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the interaction to unlike.
var opts = {
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.likelist(token, interactionid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class likelistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var interactionid = new UUID(); // UUID | The id of the interaction to unlike. (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // View all the likes associated to a target
                apiInstance.likelist(token, interactionid, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.likelist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$interactionid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the interaction to unlike.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->likelist($token, $interactionid, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->likelist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $interactionid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the interaction to unlike.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->likelist(token => $token, interactionid => $interactionid, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->likelist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
interactionid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the interaction to unlike. (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # View all the likes associated to a target
    api_instance.likelist(token, interactionid, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->likelist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let interactionid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.likelist(token, interactionid, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
interactionid*
UUID (uuid)
The id of the interaction to unlike.
Required
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


likesave

Save a like


/likesave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/likesave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.likesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#likesave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.likesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#likesave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Save a like
[apiInstance likesaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.likesave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class likesaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Save a like
                apiInstance.likesave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.likesave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->likesave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->likesave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->likesave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->likesave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Save a like
    api_instance.likesave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->likesave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.likesave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


listtimezones

Lists the available timezones


/listtimezones

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/listtimezones"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.listtimezones();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#listtimezones");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.listtimezones();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#listtimezones");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists the available timezones
[apiInstance listtimezonesWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.listtimezones(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class listtimezonesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                // Lists the available timezones
                apiInstance.listtimezones();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.listtimezones: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $api_instance->listtimezones();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->listtimezones: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval { 
    $api_instance->listtimezones();
};
if ($@) {
    warn "Exception when calling DefaultApi->listtimezones: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()

try: 
    # Lists the available timezones
    api_instance.listtimezones()
except ApiException as e:
    print("Exception when calling DefaultApi->listtimezones: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.listtimezones(&context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Responses


locationdelete

Delete a location

Allows the user to delete an existing location.


/locationdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/locationdelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to delete.
        try {
            apiInstance.locationdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#locationdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to delete.
        try {
            apiInstance.locationdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#locationdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a location
[apiInstance locationdeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.locationdelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class locationdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the location to delete. (default to null)

            try
            {
                // Delete a location
                apiInstance.locationdelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.locationdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to delete.

try {
    $api_instance->locationdelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->locationdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location to delete.

eval { 
    $api_instance->locationdelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->locationdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location to delete. (default to null)

try: 
    # Delete a location
    api_instance.locationdelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->locationdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.locationdelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the location to delete.
Required

Responses


locationget

Search and view details of a location

Allows the user to search and view an individual location and its details.


/locationget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/locationget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to get.
        try {
            apiInstance.locationget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#locationget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to get.
        try {
            apiInstance.locationget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#locationget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of a location
[apiInstance locationgetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.locationget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class locationgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the location to get. (default to null)

            try
            {
                // Search and view details of a location
                apiInstance.locationget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.locationget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to get.

try {
    $api_instance->locationget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->locationget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location to get.

eval { 
    $api_instance->locationget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->locationget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location to get. (default to null)

try: 
    # Search and view details of a location
    api_instance.locationget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->locationget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.locationget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the location to get.
Required

Responses


locationlist

View a list of locations

Allows the user to view the list of all locations to which they are scoped.


/locationlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/locationlist?token=&from=&count=&locations=&sortbygroup="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String locations = locations_example; // String | The comma-separated list containing the ids of the locations to list.
        Boolean sortbygroup = true; // Boolean | True to list locations sorted by the 'Located In' property. Defaults to false.
        try {
            apiInstance.locationlist(token, from, count, locations, sortbygroup);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#locationlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String locations = locations_example; // String | The comma-separated list containing the ids of the locations to list.
        Boolean sortbygroup = true; // Boolean | True to list locations sorted by the 'Located In' property. Defaults to false.
        try {
            apiInstance.locationlist(token, from, count, locations, sortbygroup);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#locationlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
String *locations = locations_example; // The comma-separated list containing the ids of the locations to list. (optional) (default to null)
Boolean *sortbygroup = true; // True to list locations sorted by the 'Located In' property. Defaults to false. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of locations
[apiInstance locationlistWith:token
    from:from
    count:count
    locations:locations
    sortbygroup:sortbygroup
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'locations': locations_example, // {String} The comma-separated list containing the ids of the locations to list.
  'sortbygroup': true // {Boolean} True to list locations sorted by the 'Located In' property. Defaults to false.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.locationlist(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class locationlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var locations = locations_example;  // String | The comma-separated list containing the ids of the locations to list. (optional)  (default to null)
            var sortbygroup = true;  // Boolean | True to list locations sorted by the 'Located In' property. Defaults to false. (optional)  (default to null)

            try
            {
                // View a list of locations
                apiInstance.locationlist(token, from, count, locations, sortbygroup);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.locationlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$locations = locations_example; // String | The comma-separated list containing the ids of the locations to list.
$sortbygroup = true; // Boolean | True to list locations sorted by the 'Located In' property. Defaults to false.

try {
    $api_instance->locationlist($token, $from, $count, $locations, $sortbygroup);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->locationlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $locations = locations_example; # String | The comma-separated list containing the ids of the locations to list.
my $sortbygroup = true; # Boolean | True to list locations sorted by the 'Located In' property. Defaults to false.

eval { 
    $api_instance->locationlist(token => $token, from => $from, count => $count, locations => $locations, sortbygroup => $sortbygroup);
};
if ($@) {
    warn "Exception when calling DefaultApi->locationlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
locations = locations_example # String | The comma-separated list containing the ids of the locations to list. (optional) (default to null)
sortbygroup = true # Boolean | True to list locations sorted by the 'Located In' property. Defaults to false. (optional) (default to null)

try: 
    # View a list of locations
    api_instance.locationlist(token, from, count, locations=locations, sortbygroup=sortbygroup)
except ApiException as e:
    print("Exception when calling DefaultApi->locationlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let locations = locations_example; // String
    let sortbygroup = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.locationlist(token, from, count, locations, sortbygroup, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
locations
String
The comma-separated list containing the ids of the locations to list.
sortbygroup
Boolean
True to list locations sorted by the 'Located In' property. Defaults to false.

Responses


locationsave

Create or edit a location

Allows the user to create or edit a location.


/locationsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/locationsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.locationsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#locationsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.locationsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#locationsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a location
[apiInstance locationsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.locationsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class locationsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a location
                apiInstance.locationsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.locationsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->locationsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->locationsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->locationsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->locationsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a location
    api_instance.locationsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->locationsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.locationsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


login

Login


/login

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/login?domain=&username=&password=&method=&rememberme="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String domain = domain_example; // String | The account domain to login.
        String username = username_example; // String | The username (email) of the user to login as.
        String password = password_example; // String | The password of the user to login as.
        String method = method_example; // String | The authentication method. Valid values are 'token' and 'cookie'.
        Boolean rememberme = true; // Boolean | If true then the session will not expire.
        try {
            apiInstance.login(domain, username, password, method, rememberme);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#login");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String domain = domain_example; // String | The account domain to login.
        String username = username_example; // String | The username (email) of the user to login as.
        String password = password_example; // String | The password of the user to login as.
        String method = method_example; // String | The authentication method. Valid values are 'token' and 'cookie'.
        Boolean rememberme = true; // Boolean | If true then the session will not expire.
        try {
            apiInstance.login(domain, username, password, method, rememberme);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#login");
            e.printStackTrace();
        }
    }
}
String *domain = domain_example; // The account domain to login. (default to null)
String *username = username_example; // The username (email) of the user to login as. (default to null)
String *password = password_example; // The password of the user to login as. (default to null)
String *method = method_example; // The authentication method. Valid values are 'token' and 'cookie'. (default to null)
Boolean *rememberme = true; // If true then the session will not expire. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Login
[apiInstance loginWith:domain
    username:username
    password:password
    method:method
    rememberme:rememberme
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var domain = domain_example; // {String} The account domain to login.
var username = username_example; // {String} The username (email) of the user to login as.
var password = password_example; // {String} The password of the user to login as.
var method = method_example; // {String} The authentication method. Valid values are 'token' and 'cookie'.
var opts = {
  'rememberme': true // {Boolean} If true then the session will not expire.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.login(domain, username, password, method, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class loginExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var domain = domain_example;  // String | The account domain to login. (default to null)
            var username = username_example;  // String | The username (email) of the user to login as. (default to null)
            var password = password_example;  // String | The password of the user to login as. (default to null)
            var method = method_example;  // String | The authentication method. Valid values are 'token' and 'cookie'. (default to null)
            var rememberme = true;  // Boolean | If true then the session will not expire. (optional)  (default to null)

            try
            {
                // Login
                apiInstance.login(domain, username, password, method, rememberme);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.login: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$domain = domain_example; // String | The account domain to login.
$username = username_example; // String | The username (email) of the user to login as.
$password = password_example; // String | The password of the user to login as.
$method = method_example; // String | The authentication method. Valid values are 'token' and 'cookie'.
$rememberme = true; // Boolean | If true then the session will not expire.

try {
    $api_instance->login($domain, $username, $password, $method, $rememberme);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->login: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $domain = domain_example; # String | The account domain to login.
my $username = username_example; # String | The username (email) of the user to login as.
my $password = password_example; # String | The password of the user to login as.
my $method = method_example; # String | The authentication method. Valid values are 'token' and 'cookie'.
my $rememberme = true; # Boolean | If true then the session will not expire.

eval { 
    $api_instance->login(domain => $domain, username => $username, password => $password, method => $method, rememberme => $rememberme);
};
if ($@) {
    warn "Exception when calling DefaultApi->login: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
domain = domain_example # String | The account domain to login. (default to null)
username = username_example # String | The username (email) of the user to login as. (default to null)
password = password_example # String | The password of the user to login as. (default to null)
method = method_example # String | The authentication method. Valid values are 'token' and 'cookie'. (default to null)
rememberme = true # Boolean | If true then the session will not expire. (optional) (default to null)

try: 
    # Login
    api_instance.login(domain, username, password, method, rememberme=rememberme)
except ApiException as e:
    print("Exception when calling DefaultApi->login: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let domain = domain_example; // String
    let username = username_example; // String
    let password = password_example; // String
    let method = method_example; // String
    let rememberme = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.login(domain, username, password, method, rememberme, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
domain*
String
The account domain to login.
Required
username*
String
The username (email) of the user to login as.
Required
password*
String
The password of the user to login as.
Required
method*
String
The authentication method. Valid values are 'token' and 'cookie'.
Required
rememberme
Boolean
If true then the session will not expire.

Responses


logout

Logout


/logout

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/logout?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token used to login.
        try {
            apiInstance.logout(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#logout");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token used to login.
        try {
            apiInstance.logout(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#logout");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token used to login. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Logout
[apiInstance logoutWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'token': token_example // {String} The authentication token used to login.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.logout(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class logoutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token used to login. (optional)  (default to null)

            try
            {
                // Logout
                apiInstance.logout(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.logout: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token used to login.

try {
    $api_instance->logout($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->logout: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token used to login.

eval { 
    $api_instance->logout(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->logout: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token used to login. (optional) (default to null)

try: 
    # Logout
    api_instance.logout(token=token)
except ApiException as e:
    print("Exception when calling DefaultApi->logout: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.logout(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token
String
The authentication token used to login.

Responses


mediacheckin

Check in media item

Allows the user to check in a media item.


/mediacheckin

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/mediacheckin?token=&media=&checkindate=¬es="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item to checkin.
        Date checkindate = 2013-10-20T19:20:30+01:00; // Date | The checkout date.
        String notes = notes_example; // String | The notes of the checkout.
        try {
            apiInstance.mediacheckin(token, media, checkindate, notes);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediacheckin");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item to checkin.
        Date checkindate = 2013-10-20T19:20:30+01:00; // Date | The checkout date.
        String notes = notes_example; // String | The notes of the checkout.
        try {
            apiInstance.mediacheckin(token, media, checkindate, notes);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediacheckin");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the media item to checkin. (default to null)
Date *checkindate = 2013-10-20T19:20:30+01:00; // The checkout date. (default to null)
String *notes = notes_example; // The notes of the checkout. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Check in media item
[apiInstance mediacheckinWith:token
    media:media
    checkindate:checkindate
    notes:notes
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the media item to checkin.
var checkindate = 2013-10-20T19:20:30+01:00; // {Date} The checkout date.
var opts = {
  'notes': notes_example // {String} The notes of the checkout.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.mediacheckin(token, media, checkindate, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class mediacheckinExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var media = new UUID(); // UUID | The id of the media item to checkin. (default to null)
            var checkindate = 2013-10-20T19:20:30+01:00;  // Date | The checkout date. (default to null)
            var notes = notes_example;  // String | The notes of the checkout. (optional)  (default to null)

            try
            {
                // Check in media item
                apiInstance.mediacheckin(token, media, checkindate, notes);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.mediacheckin: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item to checkin.
$checkindate = 2013-10-20T19:20:30+01:00; // Date | The checkout date.
$notes = notes_example; // String | The notes of the checkout.

try {
    $api_instance->mediacheckin($token, $media, $checkindate, $notes);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->mediacheckin: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the media item to checkin.
my $checkindate = 2013-10-20T19:20:30+01:00; # Date | The checkout date.
my $notes = notes_example; # String | The notes of the checkout.

eval { 
    $api_instance->mediacheckin(token => $token, media => $media, checkindate => $checkindate, notes => $notes);
};
if ($@) {
    warn "Exception when calling DefaultApi->mediacheckin: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
media = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the media item to checkin. (default to null)
checkindate = 2013-10-20T19:20:30+01:00 # Date | The checkout date. (default to null)
notes = notes_example # String | The notes of the checkout. (optional) (default to null)

try: 
    # Check in media item
    api_instance.mediacheckin(token, media, checkindate, notes=notes)
except ApiException as e:
    print("Exception when calling DefaultApi->mediacheckin: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let checkindate = 2013-10-20T19:20:30+01:00; // Date
    let notes = notes_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.mediacheckin(token, media, checkindate, notes, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
media*
UUID (uuid)
The id of the media item to checkin.
Required
checkindate*
Date (date-time)
The checkout date.
Required
notes
String
The notes of the checkout.

Responses


mediacheckout

Check out media item

Allows the user to check out a media item.


/mediacheckout

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/mediacheckout?token=&media=&user=&staff=&event=&checkoutdate=&duedate=¬es="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item to checkout.
        UUID user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user that is checking the item out.
        Date checkoutdate = 2013-10-20T19:20:30+01:00; // Date | The checkout date.
        Date duedate = 2013-10-20T19:20:30+01:00; // Date | The date when the checkout is due.
        UUID staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff member related to the checkout.
        UUID event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event related to the checkout.
        String notes = notes_example; // String | The notes of the checkout.
        try {
            apiInstance.mediacheckout(token, media, user, checkoutdate, duedate, staff, event, notes);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediacheckout");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item to checkout.
        UUID user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user that is checking the item out.
        Date checkoutdate = 2013-10-20T19:20:30+01:00; // Date | The checkout date.
        Date duedate = 2013-10-20T19:20:30+01:00; // Date | The date when the checkout is due.
        UUID staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff member related to the checkout.
        UUID event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event related to the checkout.
        String notes = notes_example; // String | The notes of the checkout.
        try {
            apiInstance.mediacheckout(token, media, user, checkoutdate, duedate, staff, event, notes);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediacheckout");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the media item to checkout. (default to null)
UUID *user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user that is checking the item out. (default to null)
Date *checkoutdate = 2013-10-20T19:20:30+01:00; // The checkout date. (default to null)
Date *duedate = 2013-10-20T19:20:30+01:00; // The date when the checkout is due. (default to null)
UUID *staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the staff member related to the checkout. (optional) (default to null)
UUID *event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event related to the checkout. (optional) (default to null)
String *notes = notes_example; // The notes of the checkout. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Check out media item
[apiInstance mediacheckoutWith:token
    media:media
    user:user
    checkoutdate:checkoutdate
    duedate:duedate
    staff:staff
    event:event
    notes:notes
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the media item to checkout.
var user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user that is checking the item out.
var checkoutdate = 2013-10-20T19:20:30+01:00; // {Date} The checkout date.
var duedate = 2013-10-20T19:20:30+01:00; // {Date} The date when the checkout is due.
var opts = {
  'staff': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the staff member related to the checkout.
  'event': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the event related to the checkout.
  'notes': notes_example // {String} The notes of the checkout.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.mediacheckout(token, media, user, checkoutdate, duedate, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class mediacheckoutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var media = new UUID(); // UUID | The id of the media item to checkout. (default to null)
            var user = new UUID(); // UUID | The id of the user that is checking the item out. (default to null)
            var checkoutdate = 2013-10-20T19:20:30+01:00;  // Date | The checkout date. (default to null)
            var duedate = 2013-10-20T19:20:30+01:00;  // Date | The date when the checkout is due. (default to null)
            var staff = new UUID(); // UUID | The id of the staff member related to the checkout. (optional)  (default to null)
            var event = new UUID(); // UUID | The id of the event related to the checkout. (optional)  (default to null)
            var notes = notes_example;  // String | The notes of the checkout. (optional)  (default to null)

            try
            {
                // Check out media item
                apiInstance.mediacheckout(token, media, user, checkoutdate, duedate, staff, event, notes);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.mediacheckout: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item to checkout.
$user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user that is checking the item out.
$checkoutdate = 2013-10-20T19:20:30+01:00; // Date | The checkout date.
$duedate = 2013-10-20T19:20:30+01:00; // Date | The date when the checkout is due.
$staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff member related to the checkout.
$event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event related to the checkout.
$notes = notes_example; // String | The notes of the checkout.

try {
    $api_instance->mediacheckout($token, $media, $user, $checkoutdate, $duedate, $staff, $event, $notes);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->mediacheckout: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the media item to checkout.
my $user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user that is checking the item out.
my $checkoutdate = 2013-10-20T19:20:30+01:00; # Date | The checkout date.
my $duedate = 2013-10-20T19:20:30+01:00; # Date | The date when the checkout is due.
my $staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the staff member related to the checkout.
my $event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event related to the checkout.
my $notes = notes_example; # String | The notes of the checkout.

eval { 
    $api_instance->mediacheckout(token => $token, media => $media, user => $user, checkoutdate => $checkoutdate, duedate => $duedate, staff => $staff, event => $event, notes => $notes);
};
if ($@) {
    warn "Exception when calling DefaultApi->mediacheckout: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
media = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the media item to checkout. (default to null)
user = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user that is checking the item out. (default to null)
checkoutdate = 2013-10-20T19:20:30+01:00 # Date | The checkout date. (default to null)
duedate = 2013-10-20T19:20:30+01:00 # Date | The date when the checkout is due. (default to null)
staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the staff member related to the checkout. (optional) (default to null)
event = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event related to the checkout. (optional) (default to null)
notes = notes_example # String | The notes of the checkout. (optional) (default to null)

try: 
    # Check out media item
    api_instance.mediacheckout(token, media, user, checkoutdate, duedate, staff=staff, event=event, notes=notes)
except ApiException as e:
    print("Exception when calling DefaultApi->mediacheckout: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let checkoutdate = 2013-10-20T19:20:30+01:00; // Date
    let duedate = 2013-10-20T19:20:30+01:00; // Date
    let staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let notes = notes_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.mediacheckout(token, media, user, checkoutdate, duedate, staff, event, notes, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
media*
UUID (uuid)
The id of the media item to checkout.
Required
user*
UUID (uuid)
The id of the user that is checking the item out.
Required
staff
UUID (uuid)
The id of the staff member related to the checkout.
event
UUID (uuid)
The id of the event related to the checkout.
checkoutdate*
Date (date-time)
The checkout date.
Required
duedate*
Date (date-time)
The date when the checkout is due.
Required
notes
String
The notes of the checkout.

Responses


mediacheckoutlist

View a list of past media checkouts

Allows the user to view a list of all past checkouts


/mediacheckoutlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/mediacheckoutlist?token=&from=&count=&media=&user=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        UUID media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Used to filter the checkouts of a specific media item.
        UUID user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Used to filter the checkouts made by a specific user.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.mediacheckoutlist(token, from, count, media, user, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediacheckoutlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        UUID media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Used to filter the checkouts of a specific media item.
        UUID user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Used to filter the checkouts made by a specific user.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.mediacheckoutlist(token, from, count, media, user, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediacheckoutlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
UUID *media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Used to filter the checkouts of a specific media item. (optional) (default to null)
UUID *user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Used to filter the checkouts made by a specific user. (optional) (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of past media checkouts
[apiInstance mediacheckoutlistWith:token
    from:from
    count:count
    media:media
    user:user
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'media': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} Used to filter the checkouts of a specific media item.
  'user': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} Used to filter the checkouts made by a specific user.
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.mediacheckoutlist(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class mediacheckoutlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var media = new UUID(); // UUID | Used to filter the checkouts of a specific media item. (optional)  (default to null)
            var user = new UUID(); // UUID | Used to filter the checkouts made by a specific user. (optional)  (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // View a list of past media checkouts
                apiInstance.mediacheckoutlist(token, from, count, media, user, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.mediacheckoutlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Used to filter the checkouts of a specific media item.
$user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Used to filter the checkouts made by a specific user.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->mediacheckoutlist($token, $from, $count, $media, $user, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->mediacheckoutlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Used to filter the checkouts of a specific media item.
my $user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Used to filter the checkouts made by a specific user.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->mediacheckoutlist(token => $token, from => $from, count => $count, media => $media, user => $user, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->mediacheckoutlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
media = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Used to filter the checkouts of a specific media item. (optional) (default to null)
user = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Used to filter the checkouts made by a specific user. (optional) (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # View a list of past media checkouts
    api_instance.mediacheckoutlist(token, from, count, media=media, user=user, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->mediacheckoutlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let media = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.mediacheckoutlist(token, from, count, media, user, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
media
UUID (uuid)
Used to filter the checkouts of a specific media item.
user
UUID (uuid)
Used to filter the checkouts made by a specific user.
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


mediadelete

Delete a media item

Allows the user to delete an existing media item.


/mediadelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/mediadelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item to delete.
        try {
            apiInstance.mediadelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediadelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item to delete.
        try {
            apiInstance.mediadelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediadelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the media item to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a media item
[apiInstance mediadeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the media item to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.mediadelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class mediadeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the media item to delete. (default to null)

            try
            {
                // Delete a media item
                apiInstance.mediadelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.mediadelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item to delete.

try {
    $api_instance->mediadelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->mediadelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the media item to delete.

eval { 
    $api_instance->mediadelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->mediadelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the media item to delete. (default to null)

try: 
    # Delete a media item
    api_instance.mediadelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->mediadelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.mediadelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the media item to delete.
Required

Responses


mediadeletecheckoutlog

Delete a media checkout log

Allows the user to delete a media item's checkout log.


/mediadeletecheckoutlog

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/mediadeletecheckoutlog?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the checkout log to delete.
        try {
            apiInstance.mediadeletecheckoutlog(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediadeletecheckoutlog");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the checkout log to delete.
        try {
            apiInstance.mediadeletecheckoutlog(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediadeletecheckoutlog");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the checkout log to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a media checkout log
[apiInstance mediadeletecheckoutlogWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the checkout log to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.mediadeletecheckoutlog(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class mediadeletecheckoutlogExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the checkout log to delete. (default to null)

            try
            {
                // Delete a media checkout log
                apiInstance.mediadeletecheckoutlog(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.mediadeletecheckoutlog: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the checkout log to delete.

try {
    $api_instance->mediadeletecheckoutlog($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->mediadeletecheckoutlog: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the checkout log to delete.

eval { 
    $api_instance->mediadeletecheckoutlog(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->mediadeletecheckoutlog: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the checkout log to delete. (default to null)

try: 
    # Delete a media checkout log
    api_instance.mediadeletecheckoutlog(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->mediadeletecheckoutlog: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.mediadeletecheckoutlog(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the checkout log to delete.
Required

Responses


mediaget

Search and view details of a media item

Allows the user to view an individual media item and its details.


/mediaget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/mediaget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item to get.
        try {
            apiInstance.mediaget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediaget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item to get.
        try {
            apiInstance.mediaget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediaget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the media item to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of a media item
[apiInstance mediagetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the media item to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.mediaget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class mediagetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the media item to get. (default to null)

            try
            {
                // Search and view details of a media item
                apiInstance.mediaget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.mediaget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item to get.

try {
    $api_instance->mediaget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->mediaget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the media item to get.

eval { 
    $api_instance->mediaget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->mediaget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the media item to get. (default to null)

try: 
    # Search and view details of a media item
    api_instance.mediaget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->mediaget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.mediaget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the media item to get.
Required

Responses


mediagetbycode

Search media item by unique code

Allows the user to search for media items by their unique code.


/mediagetbycode

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/mediagetbycode?token=&code=&location="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String code = code_example; // String | The code of the media item to get.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The location where to look for the media item.
        try {
            apiInstance.mediagetbycode(token, code, location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediagetbycode");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String code = code_example; // String | The code of the media item to get.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The location where to look for the media item.
        try {
            apiInstance.mediagetbycode(token, code, location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediagetbycode");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *code = code_example; // The code of the media item to get. (default to null)
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The location where to look for the media item. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search media item by unique code
[apiInstance mediagetbycodeWith:token
    code:code
    location:location
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var code = code_example; // {String} The code of the media item to get.
var opts = {
  'location': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} The location where to look for the media item.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.mediagetbycode(token, code, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class mediagetbycodeExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var code = code_example;  // String | The code of the media item to get. (default to null)
            var location = new UUID(); // UUID | The location where to look for the media item. (optional)  (default to null)

            try
            {
                // Search media item by unique code
                apiInstance.mediagetbycode(token, code, location);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.mediagetbycode: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$code = code_example; // String | The code of the media item to get.
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The location where to look for the media item.

try {
    $api_instance->mediagetbycode($token, $code, $location);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->mediagetbycode: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $code = code_example; # String | The code of the media item to get.
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The location where to look for the media item.

eval { 
    $api_instance->mediagetbycode(token => $token, code => $code, location => $location);
};
if ($@) {
    warn "Exception when calling DefaultApi->mediagetbycode: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
code = code_example # String | The code of the media item to get. (default to null)
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The location where to look for the media item. (optional) (default to null)

try: 
    # Search media item by unique code
    api_instance.mediagetbycode(token, code, location=location)
except ApiException as e:
    print("Exception when calling DefaultApi->mediagetbycode: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let code = code_example; // String
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.mediagetbycode(token, code, location, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
code*
String
The code of the media item to get.
Required
location
UUID (uuid)
The location where to look for the media item.

Responses


mediagetcheckout

View details of a media item checkout information

Allows the user to view a media item's checkout information.


/mediagetcheckout

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/mediagetcheckout?token=&id=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item whose checkout information has to be retrieved.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.mediagetcheckout(token, id, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediagetcheckout");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item whose checkout information has to be retrieved.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.mediagetcheckout(token, id, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediagetcheckout");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the media item whose checkout information has to be retrieved. (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a media item checkout information
[apiInstance mediagetcheckoutWith:token
    id:id
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the media item whose checkout information has to be retrieved.
var opts = {
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.mediagetcheckout(token, id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class mediagetcheckoutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the media item whose checkout information has to be retrieved. (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // View details of a media item checkout information
                apiInstance.mediagetcheckout(token, id, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.mediagetcheckout: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item whose checkout information has to be retrieved.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->mediagetcheckout($token, $id, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->mediagetcheckout: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the media item whose checkout information has to be retrieved.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->mediagetcheckout(token => $token, id => $id, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->mediagetcheckout: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the media item whose checkout information has to be retrieved. (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # View details of a media item checkout information
    api_instance.mediagetcheckout(token, id, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->mediagetcheckout: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.mediagetcheckout(token, id, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the media item whose checkout information has to be retrieved.
Required
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


mediagetcheckoutlog

View details of a media checkout log

Allows the user to view a media item's checkout history.


/mediagetcheckoutlog

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/mediagetcheckoutlog?token=&id=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item whose checkout information has to be retrieved.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.mediagetcheckoutlog(token, id, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediagetcheckoutlog");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item whose checkout information has to be retrieved.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.mediagetcheckoutlog(token, id, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediagetcheckoutlog");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the media item whose checkout information has to be retrieved. (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a media checkout log
[apiInstance mediagetcheckoutlogWith:token
    id:id
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the media item whose checkout information has to be retrieved.
var opts = {
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.mediagetcheckoutlog(token, id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class mediagetcheckoutlogExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the media item whose checkout information has to be retrieved. (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // View details of a media checkout log
                apiInstance.mediagetcheckoutlog(token, id, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.mediagetcheckoutlog: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media item whose checkout information has to be retrieved.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->mediagetcheckoutlog($token, $id, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->mediagetcheckoutlog: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the media item whose checkout information has to be retrieved.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->mediagetcheckoutlog(token => $token, id => $id, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->mediagetcheckoutlog: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the media item whose checkout information has to be retrieved. (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # View details of a media checkout log
    api_instance.mediagetcheckoutlog(token, id, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->mediagetcheckoutlog: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.mediagetcheckoutlog(token, id, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the media item whose checkout information has to be retrieved.
Required
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


medialist

View a list of media items

Allows the user to view the list of all media items tied to locations in which the user is scoped.


/medialist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/medialist?token=&from=&count=&status=&user="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Integer status = 56; // Integer | Used to filter the media items by their checkout status (0 = CheckedIn, 1 = CheckedOut, Unspecified = All).
        UUID user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Used to filter the media items that are checked-out by a specific user.
        try {
            apiInstance.medialist(token, from, count, status, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#medialist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Integer status = 56; // Integer | Used to filter the media items by their checkout status (0 = CheckedIn, 1 = CheckedOut, Unspecified = All).
        UUID user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Used to filter the media items that are checked-out by a specific user.
        try {
            apiInstance.medialist(token, from, count, status, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#medialist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
Integer *status = 56; // Used to filter the media items by their checkout status (0 = CheckedIn, 1 = CheckedOut, Unspecified = All). (optional) (default to null)
UUID *user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Used to filter the media items that are checked-out by a specific user. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of media items
[apiInstance medialistWith:token
    from:from
    count:count
    status:status
    user:user
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'status': 56, // {Integer} Used to filter the media items by their checkout status (0 = CheckedIn, 1 = CheckedOut, Unspecified = All).
  'user': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} Used to filter the media items that are checked-out by a specific user.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.medialist(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class medialistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var status = 56;  // Integer | Used to filter the media items by their checkout status (0 = CheckedIn, 1 = CheckedOut, Unspecified = All). (optional)  (default to null)
            var user = new UUID(); // UUID | Used to filter the media items that are checked-out by a specific user. (optional)  (default to null)

            try
            {
                // View a list of media items
                apiInstance.medialist(token, from, count, status, user);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.medialist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$status = 56; // Integer | Used to filter the media items by their checkout status (0 = CheckedIn, 1 = CheckedOut, Unspecified = All).
$user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Used to filter the media items that are checked-out by a specific user.

try {
    $api_instance->medialist($token, $from, $count, $status, $user);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->medialist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $status = 56; # Integer | Used to filter the media items by their checkout status (0 = CheckedIn, 1 = CheckedOut, Unspecified = All).
my $user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Used to filter the media items that are checked-out by a specific user.

eval { 
    $api_instance->medialist(token => $token, from => $from, count => $count, status => $status, user => $user);
};
if ($@) {
    warn "Exception when calling DefaultApi->medialist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
status = 56 # Integer | Used to filter the media items by their checkout status (0 = CheckedIn, 1 = CheckedOut, Unspecified = All). (optional) (default to null)
user = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Used to filter the media items that are checked-out by a specific user. (optional) (default to null)

try: 
    # View a list of media items
    api_instance.medialist(token, from, count, status=status, user=user)
except ApiException as e:
    print("Exception when calling DefaultApi->medialist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let status = 56; // Integer
    let user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.medialist(token, from, count, status, user, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
status
Integer (int32)
Used to filter the media items by their checkout status (0 = CheckedIn, 1 = CheckedOut, Unspecified = All).
user
UUID (uuid)
Used to filter the media items that are checked-out by a specific user.

Responses


mediasave

Create or edit a media item

Allows the user to create or edit a media item.


/mediasave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/mediasave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.mediasave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediasave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.mediasave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediasave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a media item
[apiInstance mediasaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.mediasave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class mediasaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a media item
                apiInstance.mediasave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.mediasave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->mediasave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->mediasave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->mediasave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->mediasave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a media item
    api_instance.mediasave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->mediasave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.mediasave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


mediatypedelete

Delete a media type

Allows the user to delete an existing media type.


/mediatypedelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/mediatypedelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media type to delete.
        try {
            apiInstance.mediatypedelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediatypedelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media type to delete.
        try {
            apiInstance.mediatypedelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediatypedelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the media type to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a media type
[apiInstance mediatypedeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the media type to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.mediatypedelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class mediatypedeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the media type to delete. (default to null)

            try
            {
                // Delete a media type
                apiInstance.mediatypedelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.mediatypedelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media type to delete.

try {
    $api_instance->mediatypedelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->mediatypedelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the media type to delete.

eval { 
    $api_instance->mediatypedelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->mediatypedelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the media type to delete. (default to null)

try: 
    # Delete a media type
    api_instance.mediatypedelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->mediatypedelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.mediatypedelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the media type to delete.
Required

Responses


mediatypeget

Search and view details of a media type

Allows the user to view a media type and its details.


/mediatypeget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/mediatypeget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media type to get.
        try {
            apiInstance.mediatypeget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediatypeget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media type to get.
        try {
            apiInstance.mediatypeget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediatypeget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the media type to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of a media type
[apiInstance mediatypegetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the media type to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.mediatypeget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class mediatypegetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the media type to get. (default to null)

            try
            {
                // Search and view details of a media type
                apiInstance.mediatypeget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.mediatypeget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the media type to get.

try {
    $api_instance->mediatypeget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->mediatypeget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the media type to get.

eval { 
    $api_instance->mediatypeget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->mediatypeget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the media type to get. (default to null)

try: 
    # Search and view details of a media type
    api_instance.mediatypeget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->mediatypeget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.mediatypeget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the media type to get.
Required

Responses


mediatypelist

View a list of media types

Allows the user to view the list of all media types.


/mediatypelist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/mediatypelist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.mediatypelist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediatypelist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.mediatypelist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediatypelist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of media types
[apiInstance mediatypelistWith:token
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.mediatypelist(token, from, count, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class mediatypelistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)

            try
            {
                // View a list of media types
                apiInstance.mediatypelist(token, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.mediatypelist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->mediatypelist($token, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->mediatypelist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->mediatypelist(token => $token, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->mediatypelist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)

try: 
    # View a list of media types
    api_instance.mediatypelist(token, from, count)
except ApiException as e:
    print("Exception when calling DefaultApi->mediatypelist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.mediatypelist(token, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


mediatypesave

Create or edit a media type

Allows the user to create or edit a media type.


/mediatypesave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/mediatypesave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.mediatypesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediatypesave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.mediatypesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mediatypesave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a media type
[apiInstance mediatypesaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.mediatypesave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class mediatypesaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a media type
                apiInstance.mediatypesave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.mediatypesave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->mediatypesave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->mediatypesave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->mediatypesave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->mediatypesave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a media type
    api_instance.mediatypesave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->mediatypesave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.mediatypesave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


memorizedreportdelete

Delete memorized report

Allows the user to delete a memorized report that they have created.


/memorizedreportdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/memorizedreportdelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the report settings to delete.
        try {
            apiInstance.memorizedreportdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#memorizedreportdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the report settings to delete.
        try {
            apiInstance.memorizedreportdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#memorizedreportdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the report settings to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete memorized report
[apiInstance memorizedreportdeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the report settings to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.memorizedreportdelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class memorizedreportdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the report settings to delete. (default to null)

            try
            {
                // Delete memorized report
                apiInstance.memorizedreportdelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.memorizedreportdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the report settings to delete.

try {
    $api_instance->memorizedreportdelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->memorizedreportdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the report settings to delete.

eval { 
    $api_instance->memorizedreportdelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->memorizedreportdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the report settings to delete. (default to null)

try: 
    # Delete memorized report
    api_instance.memorizedreportdelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->memorizedreportdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.memorizedreportdelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the report settings to delete.
Required

Responses


memorizedreportget

View details of a memorized report

Allows the user to view an individual memorized report and its details.


/memorizedreportget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/memorizedreportget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the report configuration to get.
        try {
            apiInstance.memorizedreportget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#memorizedreportget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the report configuration to get.
        try {
            apiInstance.memorizedreportget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#memorizedreportget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the report configuration to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a memorized report
[apiInstance memorizedreportgetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the report configuration to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.memorizedreportget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class memorizedreportgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the report configuration to get. (default to null)

            try
            {
                // View details of a memorized report
                apiInstance.memorizedreportget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.memorizedreportget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the report configuration to get.

try {
    $api_instance->memorizedreportget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->memorizedreportget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the report configuration to get.

eval { 
    $api_instance->memorizedreportget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->memorizedreportget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the report configuration to get. (default to null)

try: 
    # View details of a memorized report
    api_instance.memorizedreportget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->memorizedreportget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.memorizedreportget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the report configuration to get.
Required

Responses


memorizedreportlist

View a list of all his memorized reports

Allows the user to view the list of all memorized reports that they have created.


/memorizedreportlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/memorizedreportlist?token=&customname=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String customname = customname_example; // String | If specified filters the memorized reports by custom name.
        try {
            apiInstance.memorizedreportlist(token, from, count, customname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#memorizedreportlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String customname = customname_example; // String | If specified filters the memorized reports by custom name.
        try {
            apiInstance.memorizedreportlist(token, from, count, customname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#memorizedreportlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
String *customname = customname_example; // If specified filters the memorized reports by custom name. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of all his memorized reports
[apiInstance memorizedreportlistWith:token
    from:from
    count:count
    customname:customname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'customname': customname_example // {String} If specified filters the memorized reports by custom name.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.memorizedreportlist(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class memorizedreportlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var customname = customname_example;  // String | If specified filters the memorized reports by custom name. (optional)  (default to null)

            try
            {
                // View a list of all his memorized reports
                apiInstance.memorizedreportlist(token, from, count, customname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.memorizedreportlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$customname = customname_example; // String | If specified filters the memorized reports by custom name.

try {
    $api_instance->memorizedreportlist($token, $from, $count, $customname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->memorizedreportlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $customname = customname_example; # String | If specified filters the memorized reports by custom name.

eval { 
    $api_instance->memorizedreportlist(token => $token, from => $from, count => $count, customname => $customname);
};
if ($@) {
    warn "Exception when calling DefaultApi->memorizedreportlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
customname = customname_example # String | If specified filters the memorized reports by custom name. (optional) (default to null)

try: 
    # View a list of all his memorized reports
    api_instance.memorizedreportlist(token, from, count, customname=customname)
except ApiException as e:
    print("Exception when calling DefaultApi->memorizedreportlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let customname = customname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.memorizedreportlist(token, from, count, customname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
customname
String
If specified filters the memorized reports by custom name.
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


memorizedreportsave

Create or edit a memorized report

Allows the user to create or edit a memorized report for themselves.


/memorizedreportsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/memorizedreportsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.memorizedreportsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#memorizedreportsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.memorizedreportsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#memorizedreportsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a memorized report
[apiInstance memorizedreportsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.memorizedreportsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class memorizedreportsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a memorized report
                apiInstance.memorizedreportsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.memorizedreportsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->memorizedreportsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->memorizedreportsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->memorizedreportsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->memorizedreportsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a memorized report
    api_instance.memorizedreportsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->memorizedreportsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.memorizedreportsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


menugetitems

Gets the items on the menu


/menugetitems

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/menugetitems?menuid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String menuid = menuid_example; // String | The Id of the menu to get.
        try {
            apiInstance.menugetitems(menuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#menugetitems");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String menuid = menuid_example; // String | The Id of the menu to get.
        try {
            apiInstance.menugetitems(menuid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#menugetitems");
            e.printStackTrace();
        }
    }
}
String *menuid = menuid_example; // The Id of the menu to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the items on the menu
[apiInstance menugetitemsWith:menuid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var menuid = menuid_example; // {String} The Id of the menu to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.menugetitems(menuid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class menugetitemsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var menuid = menuid_example;  // String | The Id of the menu to get. (default to null)

            try
            {
                // Gets the items on the menu
                apiInstance.menugetitems(menuid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.menugetitems: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$menuid = menuid_example; // String | The Id of the menu to get.

try {
    $api_instance->menugetitems($menuid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->menugetitems: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $menuid = menuid_example; # String | The Id of the menu to get.

eval { 
    $api_instance->menugetitems(menuid => $menuid);
};
if ($@) {
    warn "Exception when calling DefaultApi->menugetitems: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
menuid = menuid_example # String | The Id of the menu to get. (default to null)

try: 
    # Gets the items on the menu
    api_instance.menugetitems(menuid)
except ApiException as e:
    print("Exception when calling DefaultApi->menugetitems: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let menuid = menuid_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.menugetitems(menuid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
menuid*
String
The Id of the menu to get.
Required

Responses


myaccount

Gets the logged in user account.


/myaccount

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/myaccount?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.myaccount(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#myaccount");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.myaccount(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#myaccount");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the logged in user account.
[apiInstance myaccountWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.myaccount(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class myaccountExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Gets the logged in user account.
                apiInstance.myaccount(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.myaccount: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->myaccount($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->myaccount: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->myaccount(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->myaccount: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Gets the logged in user account.
    api_instance.myaccount(token)
except ApiException as e:
    print("Exception when calling DefaultApi->myaccount: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.myaccount(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


myianatimezone

Gets the current time zone's iana name


/myianatimezone

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/myianatimezone?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.myianatimezone(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#myianatimezone");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.myianatimezone(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#myianatimezone");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the current time zone's iana name
[apiInstance myianatimezoneWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.myianatimezone(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class myianatimezoneExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Gets the current time zone's iana name
                apiInstance.myianatimezone(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.myianatimezone: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->myianatimezone($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->myianatimezone: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->myianatimezone(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->myianatimezone: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Gets the current time zone's iana name
    api_instance.myianatimezone(token)
except ApiException as e:
    print("Exception when calling DefaultApi->myianatimezone: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.myianatimezone(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


myprofile

Gets the logged in user information.


/myprofile

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/myprofile?token=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.myprofile(token, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#myprofile");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.myprofile(token, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#myprofile");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the logged in user information.
[apiInstance myprofileWith:token
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.myprofile(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class myprofileExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // Gets the logged in user information.
                apiInstance.myprofile(token, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.myprofile: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->myprofile($token, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->myprofile: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->myprofile(token => $token, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->myprofile: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # Gets the logged in user information.
    api_instance.myprofile(token, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->myprofile: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.myprofile(token, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


myrights

Gets the list of actions the user can execute.


/myrights

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/myrights?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.myrights(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#myrights");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.myrights(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#myrights");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the list of actions the user can execute.
[apiInstance myrightsWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.myrights(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class myrightsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Gets the list of actions the user can execute.
                apiInstance.myrights(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.myrights: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->myrights($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->myrights: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->myrights(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->myrights: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Gets the list of actions the user can execute.
    api_instance.myrights(token)
except ApiException as e:
    print("Exception when calling DefaultApi->myrights: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.myrights(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


mysaveprofile

Updates logged user's profile information


/mysaveprofile

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/mysaveprofile"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.mysaveprofile(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mysaveprofile");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.mysaveprofile(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#mysaveprofile");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Updates logged user's profile information
[apiInstance mysaveprofileWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.mysaveprofile(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class mysaveprofileExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Updates logged user's profile information
                apiInstance.mysaveprofile(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.mysaveprofile: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->mysaveprofile($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->mysaveprofile: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->mysaveprofile(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->mysaveprofile: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Updates logged user's profile information
    api_instance.mysaveprofile(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->mysaveprofile: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.mysaveprofile(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


notificationdelete

Delete a notification

Allows the user to delete an existing notification.


/notificationdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/notificationdelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification to delete.
        try {
            apiInstance.notificationdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification to delete.
        try {
            apiInstance.notificationdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the notification to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a notification
[apiInstance notificationdeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the notification to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.notificationdelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class notificationdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the notification to delete. (default to null)

            try
            {
                // Delete a notification
                apiInstance.notificationdelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.notificationdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification to delete.

try {
    $api_instance->notificationdelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->notificationdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the notification to delete.

eval { 
    $api_instance->notificationdelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->notificationdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the notification to delete. (default to null)

try: 
    # Delete a notification
    api_instance.notificationdelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->notificationdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.notificationdelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the notification to delete.
Required

Responses


notificationget

View a notification


/notificationget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/notificationget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification to get.
        try {
            apiInstance.notificationget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification to get.
        try {
            apiInstance.notificationget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the notification to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a notification
[apiInstance notificationgetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the notification to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.notificationget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class notificationgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the notification to get. (default to null)

            try
            {
                // View a notification
                apiInstance.notificationget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.notificationget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification to get.

try {
    $api_instance->notificationget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->notificationget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the notification to get.

eval { 
    $api_instance->notificationget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->notificationget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the notification to get. (default to null)

try: 
    # View a notification
    api_instance.notificationget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->notificationget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.notificationget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the notification to get.
Required

Responses


notificationgetforstation

Gets all public (in station) notifications for the specific user


/notificationgetforstation

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/notificationgetforstation?station=&user="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        String user = user_example; // String | The card of the user.
        try {
            apiInstance.notificationgetforstation(station, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationgetforstation");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        String user = user_example; // String | The card of the user.
        try {
            apiInstance.notificationgetforstation(station, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationgetforstation");
            e.printStackTrace();
        }
    }
}
UUID *station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station to get. (default to null)
String *user = user_example; // The card of the user. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets all public (in station) notifications for the specific user
[apiInstance notificationgetforstationWith:station
    user:user
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station to get.
var user = user_example; // {String} The card of the user.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.notificationgetforstation(station, user, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class notificationgetforstationExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var station = new UUID(); // UUID | The id of the sign-in station to get. (default to null)
            var user = user_example;  // String | The card of the user. (default to null)

            try
            {
                // Gets all public (in station) notifications for the specific user
                apiInstance.notificationgetforstation(station, user);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.notificationgetforstation: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
$user = user_example; // String | The card of the user.

try {
    $api_instance->notificationgetforstation($station, $user);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->notificationgetforstation: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station to get.
my $user = user_example; # String | The card of the user.

eval { 
    $api_instance->notificationgetforstation(station => $station, user => $user);
};
if ($@) {
    warn "Exception when calling DefaultApi->notificationgetforstation: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
station = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station to get. (default to null)
user = user_example # String | The card of the user. (default to null)

try: 
    # Gets all public (in station) notifications for the specific user
    api_instance.notificationgetforstation(station, user)
except ApiException as e:
    print("Exception when calling DefaultApi->notificationgetforstation: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let user = user_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.notificationgetforstation(station, user, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
station*
UUID (uuid)
The id of the sign-in station to get.
Required
user*
String
The card of the user.
Required

Responses


notificationgetunreadcount

Get the number of unread notifications


/notificationgetunreadcount

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/notificationgetunreadcount?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.notificationgetunreadcount(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationgetunreadcount");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.notificationgetunreadcount(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationgetunreadcount");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get the number of unread notifications
[apiInstance notificationgetunreadcountWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.notificationgetunreadcount(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class notificationgetunreadcountExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Get the number of unread notifications
                apiInstance.notificationgetunreadcount(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.notificationgetunreadcount: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->notificationgetunreadcount($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->notificationgetunreadcount: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->notificationgetunreadcount(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->notificationgetunreadcount: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Get the number of unread notifications
    api_instance.notificationgetunreadcount(token)
except ApiException as e:
    print("Exception when calling DefaultApi->notificationgetunreadcount: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.notificationgetunreadcount(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


notificationlist

View a list of all sent notifications

Allows the user to view the list of all sent notifications.


/notificationlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/notificationlist?token=&from=&count=&recipient=&status=&startdate=&enddate=&sentonscreen=&sentemail=&sentsms="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        UUID recipient = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The recipient whose notifications have to be listed.
        Integer status = 56; // Integer | The status of the notifications to list. Read, Unread or All.
        Date startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the notifications.
        Date enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the notifications.
        Boolean sentonscreen = true; // Boolean | Specifies whether to list the notifications that were sent on-screen or not.
        Boolean sentemail = true; // Boolean | Specifies whether to list the notifications that were sent via e-mail or not.
        Boolean sentsms = true; // Boolean | Specifies whether to list the notifications that were sent via sms or not.
        try {
            apiInstance.notificationlist(token, from, count, recipient, status, startdate, enddate, sentonscreen, sentemail, sentsms);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        UUID recipient = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The recipient whose notifications have to be listed.
        Integer status = 56; // Integer | The status of the notifications to list. Read, Unread or All.
        Date startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the notifications.
        Date enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the notifications.
        Boolean sentonscreen = true; // Boolean | Specifies whether to list the notifications that were sent on-screen or not.
        Boolean sentemail = true; // Boolean | Specifies whether to list the notifications that were sent via e-mail or not.
        Boolean sentsms = true; // Boolean | Specifies whether to list the notifications that were sent via sms or not.
        try {
            apiInstance.notificationlist(token, from, count, recipient, status, startdate, enddate, sentonscreen, sentemail, sentsms);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
UUID *recipient = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The recipient whose notifications have to be listed. (optional) (default to null)
Integer *status = 56; // The status of the notifications to list. Read, Unread or All. (optional) (default to null)
Date *startdate = 2013-10-20T19:20:30+01:00; // The start date of the period to filter the notifications. (optional) (default to null)
Date *enddate = 2013-10-20T19:20:30+01:00; // The end date of the period to filter the notifications. (optional) (default to null)
Boolean *sentonscreen = true; // Specifies whether to list the notifications that were sent on-screen or not. (optional) (default to null)
Boolean *sentemail = true; // Specifies whether to list the notifications that were sent via e-mail or not. (optional) (default to null)
Boolean *sentsms = true; // Specifies whether to list the notifications that were sent via sms or not. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of all sent notifications
[apiInstance notificationlistWith:token
    from:from
    count:count
    recipient:recipient
    status:status
    startdate:startdate
    enddate:enddate
    sentonscreen:sentonscreen
    sentemail:sentemail
    sentsms:sentsms
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'recipient': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The recipient whose notifications have to be listed.
  'status': 56, // {Integer} The status of the notifications to list. Read, Unread or All.
  'startdate': 2013-10-20T19:20:30+01:00, // {Date} The start date of the period to filter the notifications.
  'enddate': 2013-10-20T19:20:30+01:00, // {Date} The end date of the period to filter the notifications.
  'sentonscreen': true, // {Boolean} Specifies whether to list the notifications that were sent on-screen or not.
  'sentemail': true, // {Boolean} Specifies whether to list the notifications that were sent via e-mail or not.
  'sentsms': true // {Boolean} Specifies whether to list the notifications that were sent via sms or not.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.notificationlist(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class notificationlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var recipient = new UUID(); // UUID | The recipient whose notifications have to be listed. (optional)  (default to null)
            var status = 56;  // Integer | The status of the notifications to list. Read, Unread or All. (optional)  (default to null)
            var startdate = 2013-10-20T19:20:30+01:00;  // Date | The start date of the period to filter the notifications. (optional)  (default to null)
            var enddate = 2013-10-20T19:20:30+01:00;  // Date | The end date of the period to filter the notifications. (optional)  (default to null)
            var sentonscreen = true;  // Boolean | Specifies whether to list the notifications that were sent on-screen or not. (optional)  (default to null)
            var sentemail = true;  // Boolean | Specifies whether to list the notifications that were sent via e-mail or not. (optional)  (default to null)
            var sentsms = true;  // Boolean | Specifies whether to list the notifications that were sent via sms or not. (optional)  (default to null)

            try
            {
                // View a list of all sent notifications
                apiInstance.notificationlist(token, from, count, recipient, status, startdate, enddate, sentonscreen, sentemail, sentsms);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.notificationlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$recipient = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The recipient whose notifications have to be listed.
$status = 56; // Integer | The status of the notifications to list. Read, Unread or All.
$startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the notifications.
$enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the notifications.
$sentonscreen = true; // Boolean | Specifies whether to list the notifications that were sent on-screen or not.
$sentemail = true; // Boolean | Specifies whether to list the notifications that were sent via e-mail or not.
$sentsms = true; // Boolean | Specifies whether to list the notifications that were sent via sms or not.

try {
    $api_instance->notificationlist($token, $from, $count, $recipient, $status, $startdate, $enddate, $sentonscreen, $sentemail, $sentsms);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->notificationlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $recipient = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The recipient whose notifications have to be listed.
my $status = 56; # Integer | The status of the notifications to list. Read, Unread or All.
my $startdate = 2013-10-20T19:20:30+01:00; # Date | The start date of the period to filter the notifications.
my $enddate = 2013-10-20T19:20:30+01:00; # Date | The end date of the period to filter the notifications.
my $sentonscreen = true; # Boolean | Specifies whether to list the notifications that were sent on-screen or not.
my $sentemail = true; # Boolean | Specifies whether to list the notifications that were sent via e-mail or not.
my $sentsms = true; # Boolean | Specifies whether to list the notifications that were sent via sms or not.

eval { 
    $api_instance->notificationlist(token => $token, from => $from, count => $count, recipient => $recipient, status => $status, startdate => $startdate, enddate => $enddate, sentonscreen => $sentonscreen, sentemail => $sentemail, sentsms => $sentsms);
};
if ($@) {
    warn "Exception when calling DefaultApi->notificationlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
recipient = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The recipient whose notifications have to be listed. (optional) (default to null)
status = 56 # Integer | The status of the notifications to list. Read, Unread or All. (optional) (default to null)
startdate = 2013-10-20T19:20:30+01:00 # Date | The start date of the period to filter the notifications. (optional) (default to null)
enddate = 2013-10-20T19:20:30+01:00 # Date | The end date of the period to filter the notifications. (optional) (default to null)
sentonscreen = true # Boolean | Specifies whether to list the notifications that were sent on-screen or not. (optional) (default to null)
sentemail = true # Boolean | Specifies whether to list the notifications that were sent via e-mail or not. (optional) (default to null)
sentsms = true # Boolean | Specifies whether to list the notifications that were sent via sms or not. (optional) (default to null)

try: 
    # View a list of all sent notifications
    api_instance.notificationlist(token, from, count, recipient=recipient, status=status, startdate=startdate, enddate=enddate, sentonscreen=sentonscreen, sentemail=sentemail, sentsms=sentsms)
except ApiException as e:
    print("Exception when calling DefaultApi->notificationlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let recipient = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let status = 56; // Integer
    let startdate = 2013-10-20T19:20:30+01:00; // Date
    let enddate = 2013-10-20T19:20:30+01:00; // Date
    let sentonscreen = true; // Boolean
    let sentemail = true; // Boolean
    let sentsms = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.notificationlist(token, from, count, recipient, status, startdate, enddate, sentonscreen, sentemail, sentsms, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
recipient
UUID (uuid)
The recipient whose notifications have to be listed.
status
Integer (int32)
The status of the notifications to list. Read, Unread or All.
startdate
Date (date-time)
The start date of the period to filter the notifications.
enddate
Date (date-time)
The end date of the period to filter the notifications.
sentonscreen
Boolean
Specifies whether to list the notifications that were sent on-screen or not.
sentemail
Boolean
Specifies whether to list the notifications that were sent via e-mail or not.
sentsms
Boolean
Specifies whether to list the notifications that were sent via sms or not.

Responses


notificationlistmine

View all the notifications sent to the current user


/notificationlistmine

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/notificationlistmine?token=&from=&count=&status=&startdate=&enddate="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Integer status = 56; // Integer | Specifies the status of the notifications to list. Read, Unread or All.
        Date startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the notifications.
        Date enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the notifications.
        try {
            apiInstance.notificationlistmine(token, from, count, status, startdate, enddate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationlistmine");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Integer status = 56; // Integer | Specifies the status of the notifications to list. Read, Unread or All.
        Date startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the notifications.
        Date enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the notifications.
        try {
            apiInstance.notificationlistmine(token, from, count, status, startdate, enddate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationlistmine");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
Integer *status = 56; // Specifies the status of the notifications to list. Read, Unread or All. (optional) (default to null)
Date *startdate = 2013-10-20T19:20:30+01:00; // The start date of the period to filter the notifications. (optional) (default to null)
Date *enddate = 2013-10-20T19:20:30+01:00; // The end date of the period to filter the notifications. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View all the notifications sent to the current user
[apiInstance notificationlistmineWith:token
    from:from
    count:count
    status:status
    startdate:startdate
    enddate:enddate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'status': 56, // {Integer} Specifies the status of the notifications to list. Read, Unread or All.
  'startdate': 2013-10-20T19:20:30+01:00, // {Date} The start date of the period to filter the notifications.
  'enddate': 2013-10-20T19:20:30+01:00 // {Date} The end date of the period to filter the notifications.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.notificationlistmine(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class notificationlistmineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var status = 56;  // Integer | Specifies the status of the notifications to list. Read, Unread or All. (optional)  (default to null)
            var startdate = 2013-10-20T19:20:30+01:00;  // Date | The start date of the period to filter the notifications. (optional)  (default to null)
            var enddate = 2013-10-20T19:20:30+01:00;  // Date | The end date of the period to filter the notifications. (optional)  (default to null)

            try
            {
                // View all the notifications sent to the current user
                apiInstance.notificationlistmine(token, from, count, status, startdate, enddate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.notificationlistmine: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$status = 56; // Integer | Specifies the status of the notifications to list. Read, Unread or All.
$startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the notifications.
$enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the notifications.

try {
    $api_instance->notificationlistmine($token, $from, $count, $status, $startdate, $enddate);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->notificationlistmine: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $status = 56; # Integer | Specifies the status of the notifications to list. Read, Unread or All.
my $startdate = 2013-10-20T19:20:30+01:00; # Date | The start date of the period to filter the notifications.
my $enddate = 2013-10-20T19:20:30+01:00; # Date | The end date of the period to filter the notifications.

eval { 
    $api_instance->notificationlistmine(token => $token, from => $from, count => $count, status => $status, startdate => $startdate, enddate => $enddate);
};
if ($@) {
    warn "Exception when calling DefaultApi->notificationlistmine: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
status = 56 # Integer | Specifies the status of the notifications to list. Read, Unread or All. (optional) (default to null)
startdate = 2013-10-20T19:20:30+01:00 # Date | The start date of the period to filter the notifications. (optional) (default to null)
enddate = 2013-10-20T19:20:30+01:00 # Date | The end date of the period to filter the notifications. (optional) (default to null)

try: 
    # View all the notifications sent to the current user
    api_instance.notificationlistmine(token, from, count, status=status, startdate=startdate, enddate=enddate)
except ApiException as e:
    print("Exception when calling DefaultApi->notificationlistmine: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let status = 56; // Integer
    let startdate = 2013-10-20T19:20:30+01:00; // Date
    let enddate = 2013-10-20T19:20:30+01:00; // Date

    let mut context = DefaultApi::Context::default();
    let result = client.notificationlistmine(token, from, count, status, startdate, enddate, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
status
Integer (int32)
Specifies the status of the notifications to list. Read, Unread or All.
startdate
Date (date-time)
The start date of the period to filter the notifications.
enddate
Date (date-time)
The end date of the period to filter the notifications.

Responses


notificationmarkasread

Mark a notification as read


/notificationmarkasread

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/notificationmarkasread?token=&id=&status=&startdate=&enddate="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification to mark as read. If not specified all notifications of the logged user will be marked as read.
        Integer status = 56; // Integer | Specifies the status to filter the notifications. Read, Unread or All.
        Date startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the notifications.
        Date enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the notifications.
        try {
            apiInstance.notificationmarkasread(token, id, status, startdate, enddate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationmarkasread");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification to mark as read. If not specified all notifications of the logged user will be marked as read.
        Integer status = 56; // Integer | Specifies the status to filter the notifications. Read, Unread or All.
        Date startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the notifications.
        Date enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the notifications.
        try {
            apiInstance.notificationmarkasread(token, id, status, startdate, enddate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationmarkasread");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the notification to mark as read. If not specified all notifications of the logged user will be marked as read. (optional) (default to null)
Integer *status = 56; // Specifies the status to filter the notifications. Read, Unread or All. (optional) (default to null)
Date *startdate = 2013-10-20T19:20:30+01:00; // The start date of the period to filter the notifications. (optional) (default to null)
Date *enddate = 2013-10-20T19:20:30+01:00; // The end date of the period to filter the notifications. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Mark a notification as read
[apiInstance notificationmarkasreadWith:token
    id:id
    status:status
    startdate:startdate
    enddate:enddate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'id': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the notification to mark as read. If not specified all notifications of the logged user will be marked as read.
  'status': 56, // {Integer} Specifies the status to filter the notifications. Read, Unread or All.
  'startdate': 2013-10-20T19:20:30+01:00, // {Date} The start date of the period to filter the notifications.
  'enddate': 2013-10-20T19:20:30+01:00 // {Date} The end date of the period to filter the notifications.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.notificationmarkasread(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class notificationmarkasreadExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the notification to mark as read. If not specified all notifications of the logged user will be marked as read. (optional)  (default to null)
            var status = 56;  // Integer | Specifies the status to filter the notifications. Read, Unread or All. (optional)  (default to null)
            var startdate = 2013-10-20T19:20:30+01:00;  // Date | The start date of the period to filter the notifications. (optional)  (default to null)
            var enddate = 2013-10-20T19:20:30+01:00;  // Date | The end date of the period to filter the notifications. (optional)  (default to null)

            try
            {
                // Mark a notification as read
                apiInstance.notificationmarkasread(token, id, status, startdate, enddate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.notificationmarkasread: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification to mark as read. If not specified all notifications of the logged user will be marked as read.
$status = 56; // Integer | Specifies the status to filter the notifications. Read, Unread or All.
$startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the notifications.
$enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the notifications.

try {
    $api_instance->notificationmarkasread($token, $id, $status, $startdate, $enddate);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->notificationmarkasread: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the notification to mark as read. If not specified all notifications of the logged user will be marked as read.
my $status = 56; # Integer | Specifies the status to filter the notifications. Read, Unread or All.
my $startdate = 2013-10-20T19:20:30+01:00; # Date | The start date of the period to filter the notifications.
my $enddate = 2013-10-20T19:20:30+01:00; # Date | The end date of the period to filter the notifications.

eval { 
    $api_instance->notificationmarkasread(token => $token, id => $id, status => $status, startdate => $startdate, enddate => $enddate);
};
if ($@) {
    warn "Exception when calling DefaultApi->notificationmarkasread: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the notification to mark as read. If not specified all notifications of the logged user will be marked as read. (optional) (default to null)
status = 56 # Integer | Specifies the status to filter the notifications. Read, Unread or All. (optional) (default to null)
startdate = 2013-10-20T19:20:30+01:00 # Date | The start date of the period to filter the notifications. (optional) (default to null)
enddate = 2013-10-20T19:20:30+01:00 # Date | The end date of the period to filter the notifications. (optional) (default to null)

try: 
    # Mark a notification as read
    api_instance.notificationmarkasread(token, id=id, status=status, startdate=startdate, enddate=enddate)
except ApiException as e:
    print("Exception when calling DefaultApi->notificationmarkasread: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let status = 56; // Integer
    let startdate = 2013-10-20T19:20:30+01:00; // Date
    let enddate = 2013-10-20T19:20:30+01:00; // Date

    let mut context = DefaultApi::Context::default();
    let result = client.notificationmarkasread(token, id, status, startdate, enddate, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id
UUID (uuid)
The id of the notification to mark as read. If not specified all notifications of the logged user will be marked as read.
status
Integer (int32)
Specifies the status to filter the notifications. Read, Unread or All.
startdate
Date (date-time)
The start date of the period to filter the notifications.
enddate
Date (date-time)
The end date of the period to filter the notifications.

Responses


notificationmarkasunread

Mark a notification as unread


/notificationmarkasunread

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/notificationmarkasunread?token=&id=&status=&startdate=&enddate="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification to mark as unread. If not specified all notifications of the logged user will be marked as unread.
        Integer status = 56; // Integer | Specifies the status to filter the notifications. Read, Unread or All.
        Date startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the notifications.
        Date enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the notifications.
        try {
            apiInstance.notificationmarkasunread(token, id, status, startdate, enddate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationmarkasunread");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification to mark as unread. If not specified all notifications of the logged user will be marked as unread.
        Integer status = 56; // Integer | Specifies the status to filter the notifications. Read, Unread or All.
        Date startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the notifications.
        Date enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the notifications.
        try {
            apiInstance.notificationmarkasunread(token, id, status, startdate, enddate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationmarkasunread");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the notification to mark as unread. If not specified all notifications of the logged user will be marked as unread. (optional) (default to null)
Integer *status = 56; // Specifies the status to filter the notifications. Read, Unread or All. (optional) (default to null)
Date *startdate = 2013-10-20T19:20:30+01:00; // The start date of the period to filter the notifications. (optional) (default to null)
Date *enddate = 2013-10-20T19:20:30+01:00; // The end date of the period to filter the notifications. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Mark a notification as unread
[apiInstance notificationmarkasunreadWith:token
    id:id
    status:status
    startdate:startdate
    enddate:enddate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'id': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the notification to mark as unread. If not specified all notifications of the logged user will be marked as unread.
  'status': 56, // {Integer} Specifies the status to filter the notifications. Read, Unread or All.
  'startdate': 2013-10-20T19:20:30+01:00, // {Date} The start date of the period to filter the notifications.
  'enddate': 2013-10-20T19:20:30+01:00 // {Date} The end date of the period to filter the notifications.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.notificationmarkasunread(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class notificationmarkasunreadExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the notification to mark as unread. If not specified all notifications of the logged user will be marked as unread. (optional)  (default to null)
            var status = 56;  // Integer | Specifies the status to filter the notifications. Read, Unread or All. (optional)  (default to null)
            var startdate = 2013-10-20T19:20:30+01:00;  // Date | The start date of the period to filter the notifications. (optional)  (default to null)
            var enddate = 2013-10-20T19:20:30+01:00;  // Date | The end date of the period to filter the notifications. (optional)  (default to null)

            try
            {
                // Mark a notification as unread
                apiInstance.notificationmarkasunread(token, id, status, startdate, enddate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.notificationmarkasunread: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification to mark as unread. If not specified all notifications of the logged user will be marked as unread.
$status = 56; // Integer | Specifies the status to filter the notifications. Read, Unread or All.
$startdate = 2013-10-20T19:20:30+01:00; // Date | The start date of the period to filter the notifications.
$enddate = 2013-10-20T19:20:30+01:00; // Date | The end date of the period to filter the notifications.

try {
    $api_instance->notificationmarkasunread($token, $id, $status, $startdate, $enddate);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->notificationmarkasunread: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the notification to mark as unread. If not specified all notifications of the logged user will be marked as unread.
my $status = 56; # Integer | Specifies the status to filter the notifications. Read, Unread or All.
my $startdate = 2013-10-20T19:20:30+01:00; # Date | The start date of the period to filter the notifications.
my $enddate = 2013-10-20T19:20:30+01:00; # Date | The end date of the period to filter the notifications.

eval { 
    $api_instance->notificationmarkasunread(token => $token, id => $id, status => $status, startdate => $startdate, enddate => $enddate);
};
if ($@) {
    warn "Exception when calling DefaultApi->notificationmarkasunread: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the notification to mark as unread. If not specified all notifications of the logged user will be marked as unread. (optional) (default to null)
status = 56 # Integer | Specifies the status to filter the notifications. Read, Unread or All. (optional) (default to null)
startdate = 2013-10-20T19:20:30+01:00 # Date | The start date of the period to filter the notifications. (optional) (default to null)
enddate = 2013-10-20T19:20:30+01:00 # Date | The end date of the period to filter the notifications. (optional) (default to null)

try: 
    # Mark a notification as unread
    api_instance.notificationmarkasunread(token, id=id, status=status, startdate=startdate, enddate=enddate)
except ApiException as e:
    print("Exception when calling DefaultApi->notificationmarkasunread: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let status = 56; // Integer
    let startdate = 2013-10-20T19:20:30+01:00; // Date
    let enddate = 2013-10-20T19:20:30+01:00; // Date

    let mut context = DefaultApi::Context::default();
    let result = client.notificationmarkasunread(token, id, status, startdate, enddate, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id
UUID (uuid)
The id of the notification to mark as unread. If not specified all notifications of the logged user will be marked as unread.
status
Integer (int32)
Specifies the status to filter the notifications. Read, Unread or All.
startdate
Date (date-time)
The start date of the period to filter the notifications.
enddate
Date (date-time)
The end date of the period to filter the notifications.

Responses


notificationsend

Send notifications on screen, via email or text to users

Allows the user to send notifications to other users through the Send Message link.


/notificationsend

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/notificationsend?token=&tousers=&togroups=&emailenabled=&onscreenenabled=&smsenabled=&title=&onscreenbody=&onscreenclick=&onscreenurl=&onscreenclass=&onscreenduration=&showonstation=&emailfromname=&emailfrom=&emailsubject=&emailbody=&textmessagebody="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Boolean emailenabled = true; // Boolean | Whether send the notification via email.
        Boolean onscreenenabled = true; // Boolean | Whether to display the notification on screen.
        Boolean smsenabled = true; // Boolean | Whether to send the notification via text message.
        String title = title_example; // String | Notification title.
        String tousers = tousers_example; // String | Comma-separated Ids of users to send the notification.
        String togroups = togroups_example; // String | Comma-separated Ids of user groups to send the notification.
        String onscreenbody = onscreenbody_example; // String | Body of the message for on-screen display.
        String onscreenclick = onscreenclick_example; // String | What to do when the notification is clicked. Valid values: hide, view, url.
        String onscreenurl = onscreenurl_example; // String | Url to redirect the user, if onscreenclick=url.
        String onscreenclass = onscreenclass_example; // String | How to display the notification. Valid values: info, success, warning, error
        Integer onscreenduration = 56; // Integer | Time in seconds to display the notification.
        Integer showonstation = 56; // Integer | Whether to show the notification in the sign-in station.
        String emailfromname = emailfromname_example; // String | Name of the email sender.
        String emailfrom = emailfrom_example; // String | Reply-to email.
        String emailsubject = emailsubject_example; // String | Subject of the email.
        String emailbody = emailbody_example; // String | Body of the email.
        String textmessagebody = textmessagebody_example; // String | Message for SMS. Max 160 characters.
        try {
            apiInstance.notificationsend(token, emailenabled, onscreenenabled, smsenabled, title, tousers, togroups, onscreenbody, onscreenclick, onscreenurl, onscreenclass, onscreenduration, showonstation, emailfromname, emailfrom, emailsubject, emailbody, textmessagebody);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationsend");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Boolean emailenabled = true; // Boolean | Whether send the notification via email.
        Boolean onscreenenabled = true; // Boolean | Whether to display the notification on screen.
        Boolean smsenabled = true; // Boolean | Whether to send the notification via text message.
        String title = title_example; // String | Notification title.
        String tousers = tousers_example; // String | Comma-separated Ids of users to send the notification.
        String togroups = togroups_example; // String | Comma-separated Ids of user groups to send the notification.
        String onscreenbody = onscreenbody_example; // String | Body of the message for on-screen display.
        String onscreenclick = onscreenclick_example; // String | What to do when the notification is clicked. Valid values: hide, view, url.
        String onscreenurl = onscreenurl_example; // String | Url to redirect the user, if onscreenclick=url.
        String onscreenclass = onscreenclass_example; // String | How to display the notification. Valid values: info, success, warning, error
        Integer onscreenduration = 56; // Integer | Time in seconds to display the notification.
        Integer showonstation = 56; // Integer | Whether to show the notification in the sign-in station.
        String emailfromname = emailfromname_example; // String | Name of the email sender.
        String emailfrom = emailfrom_example; // String | Reply-to email.
        String emailsubject = emailsubject_example; // String | Subject of the email.
        String emailbody = emailbody_example; // String | Body of the email.
        String textmessagebody = textmessagebody_example; // String | Message for SMS. Max 160 characters.
        try {
            apiInstance.notificationsend(token, emailenabled, onscreenenabled, smsenabled, title, tousers, togroups, onscreenbody, onscreenclick, onscreenurl, onscreenclass, onscreenduration, showonstation, emailfromname, emailfrom, emailsubject, emailbody, textmessagebody);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationsend");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Boolean *emailenabled = true; // Whether send the notification via email. (default to null)
Boolean *onscreenenabled = true; // Whether to display the notification on screen. (default to null)
Boolean *smsenabled = true; // Whether to send the notification via text message. (default to null)
String *title = title_example; // Notification title. (default to null)
String *tousers = tousers_example; // Comma-separated Ids of users to send the notification. (optional) (default to null)
String *togroups = togroups_example; // Comma-separated Ids of user groups to send the notification. (optional) (default to null)
String *onscreenbody = onscreenbody_example; // Body of the message for on-screen display. (optional) (default to null)
String *onscreenclick = onscreenclick_example; // What to do when the notification is clicked. Valid values: hide, view, url. (optional) (default to null)
String *onscreenurl = onscreenurl_example; // Url to redirect the user, if onscreenclick=url. (optional) (default to null)
String *onscreenclass = onscreenclass_example; // How to display the notification. Valid values: info, success, warning, error (optional) (default to null)
Integer *onscreenduration = 56; // Time in seconds to display the notification. (optional) (default to null)
Integer *showonstation = 56; // Whether to show the notification in the sign-in station. (optional) (default to null)
String *emailfromname = emailfromname_example; // Name of the email sender. (optional) (default to null)
String *emailfrom = emailfrom_example; // Reply-to email. (optional) (default to null)
String *emailsubject = emailsubject_example; // Subject of the email. (optional) (default to null)
String *emailbody = emailbody_example; // Body of the email. (optional) (default to null)
String *textmessagebody = textmessagebody_example; // Message for SMS. Max 160 characters. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Send notifications on screen, via email or text to users
[apiInstance notificationsendWith:token
    emailenabled:emailenabled
    onscreenenabled:onscreenenabled
    smsenabled:smsenabled
    title:title
    tousers:tousers
    togroups:togroups
    onscreenbody:onscreenbody
    onscreenclick:onscreenclick
    onscreenurl:onscreenurl
    onscreenclass:onscreenclass
    onscreenduration:onscreenduration
    showonstation:showonstation
    emailfromname:emailfromname
    emailfrom:emailfrom
    emailsubject:emailsubject
    emailbody:emailbody
    textmessagebody:textmessagebody
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var emailenabled = true; // {Boolean} Whether send the notification via email.
var onscreenenabled = true; // {Boolean} Whether to display the notification on screen.
var smsenabled = true; // {Boolean} Whether to send the notification via text message.
var title = title_example; // {String} Notification title.
var opts = {
  'tousers': tousers_example, // {String} Comma-separated Ids of users to send the notification.
  'togroups': togroups_example, // {String} Comma-separated Ids of user groups to send the notification.
  'onscreenbody': onscreenbody_example, // {String} Body of the message for on-screen display.
  'onscreenclick': onscreenclick_example, // {String} What to do when the notification is clicked. Valid values: hide, view, url.
  'onscreenurl': onscreenurl_example, // {String} Url to redirect the user, if onscreenclick=url.
  'onscreenclass': onscreenclass_example, // {String} How to display the notification. Valid values: info, success, warning, error
  'onscreenduration': 56, // {Integer} Time in seconds to display the notification.
  'showonstation': 56, // {Integer} Whether to show the notification in the sign-in station.
  'emailfromname': emailfromname_example, // {String} Name of the email sender.
  'emailfrom': emailfrom_example, // {String} Reply-to email.
  'emailsubject': emailsubject_example, // {String} Subject of the email.
  'emailbody': emailbody_example, // {String} Body of the email.
  'textmessagebody': textmessagebody_example // {String} Message for SMS. Max 160 characters.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.notificationsend(token, emailenabled, onscreenenabled, smsenabled, title, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class notificationsendExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var emailenabled = true;  // Boolean | Whether send the notification via email. (default to null)
            var onscreenenabled = true;  // Boolean | Whether to display the notification on screen. (default to null)
            var smsenabled = true;  // Boolean | Whether to send the notification via text message. (default to null)
            var title = title_example;  // String | Notification title. (default to null)
            var tousers = tousers_example;  // String | Comma-separated Ids of users to send the notification. (optional)  (default to null)
            var togroups = togroups_example;  // String | Comma-separated Ids of user groups to send the notification. (optional)  (default to null)
            var onscreenbody = onscreenbody_example;  // String | Body of the message for on-screen display. (optional)  (default to null)
            var onscreenclick = onscreenclick_example;  // String | What to do when the notification is clicked. Valid values: hide, view, url. (optional)  (default to null)
            var onscreenurl = onscreenurl_example;  // String | Url to redirect the user, if onscreenclick=url. (optional)  (default to null)
            var onscreenclass = onscreenclass_example;  // String | How to display the notification. Valid values: info, success, warning, error (optional)  (default to null)
            var onscreenduration = 56;  // Integer | Time in seconds to display the notification. (optional)  (default to null)
            var showonstation = 56;  // Integer | Whether to show the notification in the sign-in station. (optional)  (default to null)
            var emailfromname = emailfromname_example;  // String | Name of the email sender. (optional)  (default to null)
            var emailfrom = emailfrom_example;  // String | Reply-to email. (optional)  (default to null)
            var emailsubject = emailsubject_example;  // String | Subject of the email. (optional)  (default to null)
            var emailbody = emailbody_example;  // String | Body of the email. (optional)  (default to null)
            var textmessagebody = textmessagebody_example;  // String | Message for SMS. Max 160 characters. (optional)  (default to null)

            try
            {
                // Send notifications on screen, via email or text to users
                apiInstance.notificationsend(token, emailenabled, onscreenenabled, smsenabled, title, tousers, togroups, onscreenbody, onscreenclick, onscreenurl, onscreenclass, onscreenduration, showonstation, emailfromname, emailfrom, emailsubject, emailbody, textmessagebody);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.notificationsend: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$emailenabled = true; // Boolean | Whether send the notification via email.
$onscreenenabled = true; // Boolean | Whether to display the notification on screen.
$smsenabled = true; // Boolean | Whether to send the notification via text message.
$title = title_example; // String | Notification title.
$tousers = tousers_example; // String | Comma-separated Ids of users to send the notification.
$togroups = togroups_example; // String | Comma-separated Ids of user groups to send the notification.
$onscreenbody = onscreenbody_example; // String | Body of the message for on-screen display.
$onscreenclick = onscreenclick_example; // String | What to do when the notification is clicked. Valid values: hide, view, url.
$onscreenurl = onscreenurl_example; // String | Url to redirect the user, if onscreenclick=url.
$onscreenclass = onscreenclass_example; // String | How to display the notification. Valid values: info, success, warning, error
$onscreenduration = 56; // Integer | Time in seconds to display the notification.
$showonstation = 56; // Integer | Whether to show the notification in the sign-in station.
$emailfromname = emailfromname_example; // String | Name of the email sender.
$emailfrom = emailfrom_example; // String | Reply-to email.
$emailsubject = emailsubject_example; // String | Subject of the email.
$emailbody = emailbody_example; // String | Body of the email.
$textmessagebody = textmessagebody_example; // String | Message for SMS. Max 160 characters.

try {
    $api_instance->notificationsend($token, $emailenabled, $onscreenenabled, $smsenabled, $title, $tousers, $togroups, $onscreenbody, $onscreenclick, $onscreenurl, $onscreenclass, $onscreenduration, $showonstation, $emailfromname, $emailfrom, $emailsubject, $emailbody, $textmessagebody);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->notificationsend: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $emailenabled = true; # Boolean | Whether send the notification via email.
my $onscreenenabled = true; # Boolean | Whether to display the notification on screen.
my $smsenabled = true; # Boolean | Whether to send the notification via text message.
my $title = title_example; # String | Notification title.
my $tousers = tousers_example; # String | Comma-separated Ids of users to send the notification.
my $togroups = togroups_example; # String | Comma-separated Ids of user groups to send the notification.
my $onscreenbody = onscreenbody_example; # String | Body of the message for on-screen display.
my $onscreenclick = onscreenclick_example; # String | What to do when the notification is clicked. Valid values: hide, view, url.
my $onscreenurl = onscreenurl_example; # String | Url to redirect the user, if onscreenclick=url.
my $onscreenclass = onscreenclass_example; # String | How to display the notification. Valid values: info, success, warning, error
my $onscreenduration = 56; # Integer | Time in seconds to display the notification.
my $showonstation = 56; # Integer | Whether to show the notification in the sign-in station.
my $emailfromname = emailfromname_example; # String | Name of the email sender.
my $emailfrom = emailfrom_example; # String | Reply-to email.
my $emailsubject = emailsubject_example; # String | Subject of the email.
my $emailbody = emailbody_example; # String | Body of the email.
my $textmessagebody = textmessagebody_example; # String | Message for SMS. Max 160 characters.

eval { 
    $api_instance->notificationsend(token => $token, emailenabled => $emailenabled, onscreenenabled => $onscreenenabled, smsenabled => $smsenabled, title => $title, tousers => $tousers, togroups => $togroups, onscreenbody => $onscreenbody, onscreenclick => $onscreenclick, onscreenurl => $onscreenurl, onscreenclass => $onscreenclass, onscreenduration => $onscreenduration, showonstation => $showonstation, emailfromname => $emailfromname, emailfrom => $emailfrom, emailsubject => $emailsubject, emailbody => $emailbody, textmessagebody => $textmessagebody);
};
if ($@) {
    warn "Exception when calling DefaultApi->notificationsend: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
emailenabled = true # Boolean | Whether send the notification via email. (default to null)
onscreenenabled = true # Boolean | Whether to display the notification on screen. (default to null)
smsenabled = true # Boolean | Whether to send the notification via text message. (default to null)
title = title_example # String | Notification title. (default to null)
tousers = tousers_example # String | Comma-separated Ids of users to send the notification. (optional) (default to null)
togroups = togroups_example # String | Comma-separated Ids of user groups to send the notification. (optional) (default to null)
onscreenbody = onscreenbody_example # String | Body of the message for on-screen display. (optional) (default to null)
onscreenclick = onscreenclick_example # String | What to do when the notification is clicked. Valid values: hide, view, url. (optional) (default to null)
onscreenurl = onscreenurl_example # String | Url to redirect the user, if onscreenclick=url. (optional) (default to null)
onscreenclass = onscreenclass_example # String | How to display the notification. Valid values: info, success, warning, error (optional) (default to null)
onscreenduration = 56 # Integer | Time in seconds to display the notification. (optional) (default to null)
showonstation = 56 # Integer | Whether to show the notification in the sign-in station. (optional) (default to null)
emailfromname = emailfromname_example # String | Name of the email sender. (optional) (default to null)
emailfrom = emailfrom_example # String | Reply-to email. (optional) (default to null)
emailsubject = emailsubject_example # String | Subject of the email. (optional) (default to null)
emailbody = emailbody_example # String | Body of the email. (optional) (default to null)
textmessagebody = textmessagebody_example # String | Message for SMS. Max 160 characters. (optional) (default to null)

try: 
    # Send notifications on screen, via email or text to users
    api_instance.notificationsend(token, emailenabled, onscreenenabled, smsenabled, title, tousers=tousers, togroups=togroups, onscreenbody=onscreenbody, onscreenclick=onscreenclick, onscreenurl=onscreenurl, onscreenclass=onscreenclass, onscreenduration=onscreenduration, showonstation=showonstation, emailfromname=emailfromname, emailfrom=emailfrom, emailsubject=emailsubject, emailbody=emailbody, textmessagebody=textmessagebody)
except ApiException as e:
    print("Exception when calling DefaultApi->notificationsend: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let emailenabled = true; // Boolean
    let onscreenenabled = true; // Boolean
    let smsenabled = true; // Boolean
    let title = title_example; // String
    let tousers = tousers_example; // String
    let togroups = togroups_example; // String
    let onscreenbody = onscreenbody_example; // String
    let onscreenclick = onscreenclick_example; // String
    let onscreenurl = onscreenurl_example; // String
    let onscreenclass = onscreenclass_example; // String
    let onscreenduration = 56; // Integer
    let showonstation = 56; // Integer
    let emailfromname = emailfromname_example; // String
    let emailfrom = emailfrom_example; // String
    let emailsubject = emailsubject_example; // String
    let emailbody = emailbody_example; // String
    let textmessagebody = textmessagebody_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.notificationsend(token, emailenabled, onscreenenabled, smsenabled, title, tousers, togroups, onscreenbody, onscreenclick, onscreenurl, onscreenclass, onscreenduration, showonstation, emailfromname, emailfrom, emailsubject, emailbody, textmessagebody, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
tousers
String
Comma-separated Ids of users to send the notification.
togroups
String
Comma-separated Ids of user groups to send the notification.
emailenabled*
Boolean
Whether send the notification via email.
Required
onscreenenabled*
Boolean
Whether to display the notification on screen.
Required
smsenabled*
Boolean
Whether to send the notification via text message.
Required
title*
String
Notification title.
Required
onscreenbody
String
Body of the message for on-screen display.
onscreenclick
String
What to do when the notification is clicked. Valid values: hide, view, url.
onscreenurl
String
Url to redirect the user, if onscreenclick=url.
onscreenclass
String
How to display the notification. Valid values: info, success, warning, error
onscreenduration
Integer (int32)
Time in seconds to display the notification.
showonstation
Integer (int32)
Whether to show the notification in the sign-in station.
emailfromname
String
Name of the email sender.
emailfrom
String
Reply-to email.
emailsubject
String
Subject of the email.
emailbody
String
Body of the email.
textmessagebody
String
Message for SMS. Max 160 characters.

Responses


notificationsendonscreen

Send on-screen notifications


/notificationsendonscreen

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/notificationsendonscreen?token=¬ification="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID notification = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the notification to send.
        try {
            apiInstance.notificationsendonscreen(token, notification);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationsendonscreen");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID notification = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the notification to send.
        try {
            apiInstance.notificationsendonscreen(token, notification);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationsendonscreen");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *notification = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The ID of the notification to send. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Send on-screen notifications
[apiInstance notificationsendonscreenWith:token
    notification:notification
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var notification = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The ID of the notification to send.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.notificationsendonscreen(token, notification, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class notificationsendonscreenExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var notification = new UUID(); // UUID | The ID of the notification to send. (default to null)

            try
            {
                // Send on-screen notifications
                apiInstance.notificationsendonscreen(token, notification);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.notificationsendonscreen: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$notification = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the notification to send.

try {
    $api_instance->notificationsendonscreen($token, $notification);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->notificationsendonscreen: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $notification = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The ID of the notification to send.

eval { 
    $api_instance->notificationsendonscreen(token => $token, notification => $notification);
};
if ($@) {
    warn "Exception when calling DefaultApi->notificationsendonscreen: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
notification = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The ID of the notification to send. (default to null)

try: 
    # Send on-screen notifications
    api_instance.notificationsendonscreen(token, notification)
except ApiException as e:
    print("Exception when calling DefaultApi->notificationsendonscreen: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let notification = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.notificationsendonscreen(token, notification, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
notification*
UUID (uuid)
The ID of the notification to send.
Required

Responses


notificationtopicdelete

Delete a notification topic

Allows the user to delete an existing notification topic.


/notificationtopicdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/notificationtopicdelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification topic to delete.
        try {
            apiInstance.notificationtopicdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationtopicdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification topic to delete.
        try {
            apiInstance.notificationtopicdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationtopicdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the notification topic to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a notification topic
[apiInstance notificationtopicdeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the notification topic to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.notificationtopicdelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class notificationtopicdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the notification topic to delete. (default to null)

            try
            {
                // Delete a notification topic
                apiInstance.notificationtopicdelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.notificationtopicdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification topic to delete.

try {
    $api_instance->notificationtopicdelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->notificationtopicdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the notification topic to delete.

eval { 
    $api_instance->notificationtopicdelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->notificationtopicdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the notification topic to delete. (default to null)

try: 
    # Delete a notification topic
    api_instance.notificationtopicdelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->notificationtopicdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.notificationtopicdelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the notification topic to delete.
Required

Responses


notificationtopicget

Search and view details of a notification topic

Allows the user to view an individual notification topic and its details.


/notificationtopicget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/notificationtopicget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification topic to get.
        try {
            apiInstance.notificationtopicget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationtopicget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification topic to get.
        try {
            apiInstance.notificationtopicget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationtopicget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the notification topic to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of a notification topic
[apiInstance notificationtopicgetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the notification topic to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.notificationtopicget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class notificationtopicgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the notification topic to get. (default to null)

            try
            {
                // Search and view details of a notification topic
                apiInstance.notificationtopicget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.notificationtopicget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the notification topic to get.

try {
    $api_instance->notificationtopicget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->notificationtopicget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the notification topic to get.

eval { 
    $api_instance->notificationtopicget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->notificationtopicget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the notification topic to get. (default to null)

try: 
    # Search and view details of a notification topic
    api_instance.notificationtopicget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->notificationtopicget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.notificationtopicget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the notification topic to get.
Required

Responses


notificationtopiclist

List all the notification topics

Allows the user to view the list of all notification topics.


/notificationtopiclist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/notificationtopiclist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.notificationtopiclist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationtopiclist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.notificationtopiclist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationtopiclist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// List all the notification topics
[apiInstance notificationtopiclistWith:token
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.notificationtopiclist(token, from, count, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class notificationtopiclistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)

            try
            {
                // List all the notification topics
                apiInstance.notificationtopiclist(token, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.notificationtopiclist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->notificationtopiclist($token, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->notificationtopiclist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->notificationtopiclist(token => $token, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->notificationtopiclist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)

try: 
    # List all the notification topics
    api_instance.notificationtopiclist(token, from, count)
except ApiException as e:
    print("Exception when calling DefaultApi->notificationtopiclist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.notificationtopiclist(token, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


notificationtopiclistsubscribe

List all the notification topics available to subscribe


/notificationtopiclistsubscribe

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/notificationtopiclistsubscribe?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.notificationtopiclistsubscribe(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationtopiclistsubscribe");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.notificationtopiclistsubscribe(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationtopiclistsubscribe");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// List all the notification topics available to subscribe
[apiInstance notificationtopiclistsubscribeWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.notificationtopiclistsubscribe(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class notificationtopiclistsubscribeExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // List all the notification topics available to subscribe
                apiInstance.notificationtopiclistsubscribe(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.notificationtopiclistsubscribe: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->notificationtopiclistsubscribe($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->notificationtopiclistsubscribe: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->notificationtopiclistsubscribe(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->notificationtopiclistsubscribe: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # List all the notification topics available to subscribe
    api_instance.notificationtopiclistsubscribe(token)
except ApiException as e:
    print("Exception when calling DefaultApi->notificationtopiclistsubscribe: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.notificationtopiclistsubscribe(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


notificationtopicsave

Create or edit a notification topic

Allows the user to create and edit a notification topic.


/notificationtopicsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/notificationtopicsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.notificationtopicsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationtopicsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.notificationtopicsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#notificationtopicsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a notification topic
[apiInstance notificationtopicsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.notificationtopicsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class notificationtopicsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a notification topic
                apiInstance.notificationtopicsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.notificationtopicsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->notificationtopicsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->notificationtopicsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->notificationtopicsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->notificationtopicsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a notification topic
    api_instance.notificationtopicsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->notificationtopicsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.notificationtopicsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


pushderegister

Deregisters the current device to receive push notifications


/pushderegister

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/pushderegister?devicetoken=&platform="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String devicetoken = devicetoken_example; // String | The device token where to send the notification.
        String platform = platform_example; // String | Either ios or android
        try {
            apiInstance.pushderegister(devicetoken, platform);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#pushderegister");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String devicetoken = devicetoken_example; // String | The device token where to send the notification.
        String platform = platform_example; // String | Either ios or android
        try {
            apiInstance.pushderegister(devicetoken, platform);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#pushderegister");
            e.printStackTrace();
        }
    }
}
String *devicetoken = devicetoken_example; // The device token where to send the notification. (default to null)
String *platform = platform_example; // Either ios or android (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Deregisters the current device to receive push notifications
[apiInstance pushderegisterWith:devicetoken
    platform:platform
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var devicetoken = devicetoken_example; // {String} The device token where to send the notification.
var platform = platform_example; // {String} Either ios or android

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.pushderegister(devicetoken, platform, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class pushderegisterExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var devicetoken = devicetoken_example;  // String | The device token where to send the notification. (default to null)
            var platform = platform_example;  // String | Either ios or android (default to null)

            try
            {
                // Deregisters the current device to receive push notifications
                apiInstance.pushderegister(devicetoken, platform);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.pushderegister: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$devicetoken = devicetoken_example; // String | The device token where to send the notification.
$platform = platform_example; // String | Either ios or android

try {
    $api_instance->pushderegister($devicetoken, $platform);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->pushderegister: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $devicetoken = devicetoken_example; # String | The device token where to send the notification.
my $platform = platform_example; # String | Either ios or android

eval { 
    $api_instance->pushderegister(devicetoken => $devicetoken, platform => $platform);
};
if ($@) {
    warn "Exception when calling DefaultApi->pushderegister: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
devicetoken = devicetoken_example # String | The device token where to send the notification. (default to null)
platform = platform_example # String | Either ios or android (default to null)

try: 
    # Deregisters the current device to receive push notifications
    api_instance.pushderegister(devicetoken, platform)
except ApiException as e:
    print("Exception when calling DefaultApi->pushderegister: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let devicetoken = devicetoken_example; // String
    let platform = platform_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.pushderegister(devicetoken, platform, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
devicetoken*
String
The device token where to send the notification.
Required
platform*
String
Either ios or android
Required

Responses


pushregister

Registers the current device to receive push notifications


/pushregister

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/pushregister?devicetoken=&platform="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String devicetoken = devicetoken_example; // String | The device token where to send the notification.
        String platform = platform_example; // String | Either ios or android
        try {
            apiInstance.pushregister(devicetoken, platform);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#pushregister");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String devicetoken = devicetoken_example; // String | The device token where to send the notification.
        String platform = platform_example; // String | Either ios or android
        try {
            apiInstance.pushregister(devicetoken, platform);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#pushregister");
            e.printStackTrace();
        }
    }
}
String *devicetoken = devicetoken_example; // The device token where to send the notification. (default to null)
String *platform = platform_example; // Either ios or android (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Registers the current device to receive push notifications
[apiInstance pushregisterWith:devicetoken
    platform:platform
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var devicetoken = devicetoken_example; // {String} The device token where to send the notification.
var platform = platform_example; // {String} Either ios or android

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.pushregister(devicetoken, platform, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class pushregisterExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var devicetoken = devicetoken_example;  // String | The device token where to send the notification. (default to null)
            var platform = platform_example;  // String | Either ios or android (default to null)

            try
            {
                // Registers the current device to receive push notifications
                apiInstance.pushregister(devicetoken, platform);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.pushregister: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$devicetoken = devicetoken_example; // String | The device token where to send the notification.
$platform = platform_example; // String | Either ios or android

try {
    $api_instance->pushregister($devicetoken, $platform);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->pushregister: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $devicetoken = devicetoken_example; # String | The device token where to send the notification.
my $platform = platform_example; # String | Either ios or android

eval { 
    $api_instance->pushregister(devicetoken => $devicetoken, platform => $platform);
};
if ($@) {
    warn "Exception when calling DefaultApi->pushregister: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
devicetoken = devicetoken_example # String | The device token where to send the notification. (default to null)
platform = platform_example # String | Either ios or android (default to null)

try: 
    # Registers the current device to receive push notifications
    api_instance.pushregister(devicetoken, platform)
except ApiException as e:
    print("Exception when calling DefaultApi->pushregister: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let devicetoken = devicetoken_example; // String
    let platform = platform_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.pushregister(devicetoken, platform, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
devicetoken*
String
The device token where to send the notification.
Required
platform*
String
Either ios or android
Required

Responses


qrlabelsprint

Print and email QR labels

Allows the user to generate a printable PDF of QR labels containing user Card Numbers to be emailed to users and used as attendance tracking for events.


/qrlabelsprint

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/qrlabelsprint?token=&user=&group="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user whose label needs to be printed.
        UUID group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group whose members' labels need to be printed.
        try {
            apiInstance.qrlabelsprint(token, user, group);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#qrlabelsprint");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user whose label needs to be printed.
        UUID group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group whose members' labels need to be printed.
        try {
            apiInstance.qrlabelsprint(token, user, group);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#qrlabelsprint");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user whose label needs to be printed. (optional) (default to null)
UUID *group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the group whose members' labels need to be printed. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Print and email QR labels
[apiInstance qrlabelsprintWith:token
    user:user
    group:group
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'user': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the user whose label needs to be printed.
  'group': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} The id of the group whose members' labels need to be printed.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.qrlabelsprint(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class qrlabelsprintExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var user = new UUID(); // UUID | The id of the user whose label needs to be printed. (optional)  (default to null)
            var group = new UUID(); // UUID | The id of the group whose members' labels need to be printed. (optional)  (default to null)

            try
            {
                // Print and email QR labels
                apiInstance.qrlabelsprint(token, user, group);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.qrlabelsprint: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user whose label needs to be printed.
$group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group whose members' labels need to be printed.

try {
    $api_instance->qrlabelsprint($token, $user, $group);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->qrlabelsprint: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user whose label needs to be printed.
my $group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the group whose members' labels need to be printed.

eval { 
    $api_instance->qrlabelsprint(token => $token, user => $user, group => $group);
};
if ($@) {
    warn "Exception when calling DefaultApi->qrlabelsprint: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
user = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user whose label needs to be printed. (optional) (default to null)
group = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the group whose members' labels need to be printed. (optional) (default to null)

try: 
    # Print and email QR labels
    api_instance.qrlabelsprint(token, user=user, group=group)
except ApiException as e:
    print("Exception when calling DefaultApi->qrlabelsprint: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.qrlabelsprint(token, user, group, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
user
UUID (uuid)
The id of the user whose label needs to be printed.
group
UUID (uuid)
The id of the group whose members' labels need to be printed.

Responses


qrloginget

Gets an image of a QR token


/qrloginget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/qrloginget?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.qrloginget(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#qrloginget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.qrloginget(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#qrloginget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets an image of a QR token
[apiInstance qrlogingetWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.qrloginget(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class qrlogingetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Gets an image of a QR token
                apiInstance.qrloginget(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.qrloginget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->qrloginget($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->qrloginget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->qrloginget(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->qrloginget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Gets an image of a QR token
    api_instance.qrloginget(token)
except ApiException as e:
    print("Exception when calling DefaultApi->qrloginget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.qrloginget(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


qrloginlogin

Login


/qrloginlogin

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/qrloginlogin?onetimetoken="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String onetimetoken = onetimetoken_example; // String | The token read from the QR code.
        try {
            apiInstance.qrloginlogin(onetimetoken);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#qrloginlogin");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String onetimetoken = onetimetoken_example; // String | The token read from the QR code.
        try {
            apiInstance.qrloginlogin(onetimetoken);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#qrloginlogin");
            e.printStackTrace();
        }
    }
}
String *onetimetoken = onetimetoken_example; // The token read from the QR code. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Login
[apiInstance qrloginloginWith:onetimetoken
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var onetimetoken = onetimetoken_example; // {String} The token read from the QR code.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.qrloginlogin(onetimetoken, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class qrloginloginExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var onetimetoken = onetimetoken_example;  // String | The token read from the QR code. (default to null)

            try
            {
                // Login
                apiInstance.qrloginlogin(onetimetoken);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.qrloginlogin: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$onetimetoken = onetimetoken_example; // String | The token read from the QR code.

try {
    $api_instance->qrloginlogin($onetimetoken);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->qrloginlogin: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $onetimetoken = onetimetoken_example; # String | The token read from the QR code.

eval { 
    $api_instance->qrloginlogin(onetimetoken => $onetimetoken);
};
if ($@) {
    warn "Exception when calling DefaultApi->qrloginlogin: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
onetimetoken = onetimetoken_example # String | The token read from the QR code. (default to null)

try: 
    # Login
    api_instance.qrloginlogin(onetimetoken)
except ApiException as e:
    print("Exception when calling DefaultApi->qrloginlogin: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let onetimetoken = onetimetoken_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.qrloginlogin(onetimetoken, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
onetimetoken*
String
The token read from the QR code.
Required

Responses


quickpaneldeletewidget

Deletes a widget from the Quick Panel

Allows the user to delete a widget that has been added to the Quick Panel.


/quickpaneldeletewidget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/quickpaneldeletewidget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the widget.
        try {
            apiInstance.quickpaneldeletewidget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#quickpaneldeletewidget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the widget.
        try {
            apiInstance.quickpaneldeletewidget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#quickpaneldeletewidget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the widget. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Deletes a widget from the Quick Panel
[apiInstance quickpaneldeletewidgetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the widget.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.quickpaneldeletewidget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class quickpaneldeletewidgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the widget. (default to null)

            try
            {
                // Deletes a widget from the Quick Panel
                apiInstance.quickpaneldeletewidget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.quickpaneldeletewidget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the widget.

try {
    $api_instance->quickpaneldeletewidget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->quickpaneldeletewidget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the widget.

eval { 
    $api_instance->quickpaneldeletewidget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->quickpaneldeletewidget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the widget. (default to null)

try: 
    # Deletes a widget from the Quick Panel
    api_instance.quickpaneldeletewidget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->quickpaneldeletewidget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.quickpaneldeletewidget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the widget.
Required

Responses


quickpanelfetchwidget

Fetches the information for a specific widget.


/quickpanelfetchwidget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/quickpanelfetchwidget?token=&widgetid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID widgetid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the data to fetch it's data.
        try {
            apiInstance.quickpanelfetchwidget(token, widgetid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#quickpanelfetchwidget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID widgetid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the data to fetch it's data.
        try {
            apiInstance.quickpanelfetchwidget(token, widgetid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#quickpanelfetchwidget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *widgetid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The ID of the data to fetch it's data. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Fetches the information for a specific widget.
[apiInstance quickpanelfetchwidgetWith:token
    widgetid:widgetid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var widgetid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The ID of the data to fetch it's data.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.quickpanelfetchwidget(token, widgetid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class quickpanelfetchwidgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var widgetid = new UUID(); // UUID | The ID of the data to fetch it's data. (default to null)

            try
            {
                // Fetches the information for a specific widget.
                apiInstance.quickpanelfetchwidget(token, widgetid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.quickpanelfetchwidget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$widgetid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the data to fetch it's data.

try {
    $api_instance->quickpanelfetchwidget($token, $widgetid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->quickpanelfetchwidget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $widgetid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The ID of the data to fetch it's data.

eval { 
    $api_instance->quickpanelfetchwidget(token => $token, widgetid => $widgetid);
};
if ($@) {
    warn "Exception when calling DefaultApi->quickpanelfetchwidget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
widgetid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The ID of the data to fetch it's data. (default to null)

try: 
    # Fetches the information for a specific widget.
    api_instance.quickpanelfetchwidget(token, widgetid)
except ApiException as e:
    print("Exception when calling DefaultApi->quickpanelfetchwidget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let widgetid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.quickpanelfetchwidget(token, widgetid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
widgetid*
UUID (uuid)
The ID of the data to fetch it's data.
Required

Responses


quickpanelgetwidget

View details of a widget included in the Quick Panel

Allows the user to view a widget added in as Quick Panel.


/quickpanelgetwidget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/quickpanelgetwidget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the widget to get.
        try {
            apiInstance.quickpanelgetwidget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#quickpanelgetwidget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the widget to get.
        try {
            apiInstance.quickpanelgetwidget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#quickpanelgetwidget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the widget to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a widget included in the Quick Panel
[apiInstance quickpanelgetwidgetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the widget to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.quickpanelgetwidget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class quickpanelgetwidgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the widget to get. (default to null)

            try
            {
                // View details of a widget included in the Quick Panel
                apiInstance.quickpanelgetwidget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.quickpanelgetwidget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the widget to get.

try {
    $api_instance->quickpanelgetwidget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->quickpanelgetwidget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the widget to get.

eval { 
    $api_instance->quickpanelgetwidget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->quickpanelgetwidget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the widget to get. (default to null)

try: 
    # View details of a widget included in the Quick Panel
    api_instance.quickpanelgetwidget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->quickpanelgetwidget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.quickpanelgetwidget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the widget to get.
Required

Responses


quickpanelinit

Returns the initial information required to show the quick panels


/quickpanelinit

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/quickpanelinit?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.quickpanelinit(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#quickpanelinit");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.quickpanelinit(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#quickpanelinit");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Returns the initial information required to show the quick panels
[apiInstance quickpanelinitWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.quickpanelinit(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class quickpanelinitExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Returns the initial information required to show the quick panels
                apiInstance.quickpanelinit(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.quickpanelinit: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->quickpanelinit($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->quickpanelinit: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->quickpanelinit(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->quickpanelinit: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Returns the initial information required to show the quick panels
    api_instance.quickpanelinit(token)
except ApiException as e:
    print("Exception when calling DefaultApi->quickpanelinit: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.quickpanelinit(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


quickpanellistwidgets

Lists all the widgets that are added in the Quick Panel

Allows the user to view the widgets that have been added to the Quick Panel.


/quickpanellistwidgets

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/quickpanellistwidgets?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.quickpanellistwidgets(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#quickpanellistwidgets");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.quickpanellistwidgets(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#quickpanellistwidgets");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists all the widgets that are added in the Quick Panel
[apiInstance quickpanellistwidgetsWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.quickpanellistwidgets(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class quickpanellistwidgetsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Lists all the widgets that are added in the Quick Panel
                apiInstance.quickpanellistwidgets(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.quickpanellistwidgets: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->quickpanellistwidgets($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->quickpanellistwidgets: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->quickpanellistwidgets(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->quickpanellistwidgets: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Lists all the widgets that are added in the Quick Panel
    api_instance.quickpanellistwidgets(token)
except ApiException as e:
    print("Exception when calling DefaultApi->quickpanellistwidgets: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.quickpanellistwidgets(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


quickpanellistwidgettypes

Lists all the widget types available in the system


/quickpanellistwidgettypes

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/quickpanellistwidgettypes?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.quickpanellistwidgettypes(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#quickpanellistwidgettypes");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.quickpanellistwidgettypes(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#quickpanellistwidgettypes");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists all the widget types available in the system
[apiInstance quickpanellistwidgettypesWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.quickpanellistwidgettypes(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class quickpanellistwidgettypesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Lists all the widget types available in the system
                apiInstance.quickpanellistwidgettypes(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.quickpanellistwidgettypes: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->quickpanellistwidgettypes($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->quickpanellistwidgettypes: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->quickpanellistwidgettypes(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->quickpanellistwidgettypes: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Lists all the widget types available in the system
    api_instance.quickpanellistwidgettypes(token)
except ApiException as e:
    print("Exception when calling DefaultApi->quickpanellistwidgettypes: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.quickpanellistwidgettypes(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


quickpanelreorderwidgets

Reorders the widgets and moves them to a specific column


/quickpanelreorderwidgets

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/quickpanelreorderwidgets?token=§ionname=&orderids="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String sectionname = sectionname_example; // String | The section name where to sort the widgets.
        String orderids = orderids_example; // String | CSV list of the widgets to reorder.
        try {
            apiInstance.quickpanelreorderwidgets(token, sectionname, orderids);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#quickpanelreorderwidgets");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String sectionname = sectionname_example; // String | The section name where to sort the widgets.
        String orderids = orderids_example; // String | CSV list of the widgets to reorder.
        try {
            apiInstance.quickpanelreorderwidgets(token, sectionname, orderids);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#quickpanelreorderwidgets");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *sectionname = sectionname_example; // The section name where to sort the widgets. (default to null)
String *orderids = orderids_example; // CSV list of the widgets to reorder. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Reorders the widgets and moves them to a specific column
[apiInstance quickpanelreorderwidgetsWith:token
    sectionname:sectionname
    orderids:orderids
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var sectionname = sectionname_example; // {String} The section name where to sort the widgets.
var orderids = orderids_example; // {String} CSV list of the widgets to reorder.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.quickpanelreorderwidgets(token, sectionname, orderids, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class quickpanelreorderwidgetsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var sectionname = sectionname_example;  // String | The section name where to sort the widgets. (default to null)
            var orderids = orderids_example;  // String | CSV list of the widgets to reorder. (default to null)

            try
            {
                // Reorders the widgets and moves them to a specific column
                apiInstance.quickpanelreorderwidgets(token, sectionname, orderids);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.quickpanelreorderwidgets: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$sectionname = sectionname_example; // String | The section name where to sort the widgets.
$orderids = orderids_example; // String | CSV list of the widgets to reorder.

try {
    $api_instance->quickpanelreorderwidgets($token, $sectionname, $orderids);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->quickpanelreorderwidgets: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $sectionname = sectionname_example; # String | The section name where to sort the widgets.
my $orderids = orderids_example; # String | CSV list of the widgets to reorder.

eval { 
    $api_instance->quickpanelreorderwidgets(token => $token, sectionname => $sectionname, orderids => $orderids);
};
if ($@) {
    warn "Exception when calling DefaultApi->quickpanelreorderwidgets: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
sectionname = sectionname_example # String | The section name where to sort the widgets. (default to null)
orderids = orderids_example # String | CSV list of the widgets to reorder. (default to null)

try: 
    # Reorders the widgets and moves them to a specific column
    api_instance.quickpanelreorderwidgets(token, sectionname, orderids)
except ApiException as e:
    print("Exception when calling DefaultApi->quickpanelreorderwidgets: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let sectionname = sectionname_example; // String
    let orderids = orderids_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.quickpanelreorderwidgets(token, sectionname, orderids, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
sectionname*
String
The section name where to sort the widgets.
Required
orderids*
String
CSV list of the widgets to reorder.
Required

Responses


quickpanelsavewidget

Saves a widget for the Quick Panel

Allows the user to save a widget to the Quick Panel.


/quickpanelsavewidget

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/quickpanelsavewidget"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.quickpanelsavewidget(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#quickpanelsavewidget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.quickpanelsavewidget(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#quickpanelsavewidget");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Saves a widget for the Quick Panel
[apiInstance quickpanelsavewidgetWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.quickpanelsavewidget(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class quickpanelsavewidgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Saves a widget for the Quick Panel
                apiInstance.quickpanelsavewidget(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.quickpanelsavewidget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->quickpanelsavewidget($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->quickpanelsavewidget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->quickpanelsavewidget(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->quickpanelsavewidget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Saves a widget for the Quick Panel
    api_instance.quickpanelsavewidget(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->quickpanelsavewidget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.quickpanelsavewidget(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


ratingflag

Flags one rating for moderation


/ratingflag

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/ratingflag?token=&id=&comment="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The rating to flag.
        String comment = comment_example; // String | Comment why should this should be removed.
        try {
            apiInstance.ratingflag(token, id, comment);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratingflag");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The rating to flag.
        String comment = comment_example; // String | Comment why should this should be removed.
        try {
            apiInstance.ratingflag(token, id, comment);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratingflag");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The rating to flag. (default to null)
String *comment = comment_example; // Comment why should this should be removed. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Flags one rating for moderation
[apiInstance ratingflagWith:token
    id:id
    comment:comment
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The rating to flag.
var opts = {
  'comment': comment_example // {String} Comment why should this should be removed.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ratingflag(token, id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class ratingflagExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The rating to flag. (default to null)
            var comment = comment_example;  // String | Comment why should this should be removed. (optional)  (default to null)

            try
            {
                // Flags one rating for moderation
                apiInstance.ratingflag(token, id, comment);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ratingflag: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The rating to flag.
$comment = comment_example; // String | Comment why should this should be removed.

try {
    $api_instance->ratingflag($token, $id, $comment);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ratingflag: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The rating to flag.
my $comment = comment_example; # String | Comment why should this should be removed.

eval { 
    $api_instance->ratingflag(token => $token, id => $id, comment => $comment);
};
if ($@) {
    warn "Exception when calling DefaultApi->ratingflag: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The rating to flag. (default to null)
comment = comment_example # String | Comment why should this should be removed. (optional) (default to null)

try: 
    # Flags one rating for moderation
    api_instance.ratingflag(token, id, comment=comment)
except ApiException as e:
    print("Exception when calling DefaultApi->ratingflag: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let comment = comment_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.ratingflag(token, id, comment, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The rating to flag.
Required
comment
String
Comment why should this should be removed.

Responses


ratingflagcomment

Flags one comment for moderation


/ratingflagcomment

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/ratingflagcomment?token=&id=&comment="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The comment to flag.
        String comment = comment_example; // String | Comment why should this should be removed.
        try {
            apiInstance.ratingflagcomment(token, id, comment);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratingflagcomment");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The comment to flag.
        String comment = comment_example; // String | Comment why should this should be removed.
        try {
            apiInstance.ratingflagcomment(token, id, comment);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratingflagcomment");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The comment to flag. (default to null)
String *comment = comment_example; // Comment why should this should be removed. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Flags one comment for moderation
[apiInstance ratingflagcommentWith:token
    id:id
    comment:comment
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The comment to flag.
var opts = {
  'comment': comment_example // {String} Comment why should this should be removed.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ratingflagcomment(token, id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class ratingflagcommentExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The comment to flag. (default to null)
            var comment = comment_example;  // String | Comment why should this should be removed. (optional)  (default to null)

            try
            {
                // Flags one comment for moderation
                apiInstance.ratingflagcomment(token, id, comment);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ratingflagcomment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The comment to flag.
$comment = comment_example; // String | Comment why should this should be removed.

try {
    $api_instance->ratingflagcomment($token, $id, $comment);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ratingflagcomment: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The comment to flag.
my $comment = comment_example; # String | Comment why should this should be removed.

eval { 
    $api_instance->ratingflagcomment(token => $token, id => $id, comment => $comment);
};
if ($@) {
    warn "Exception when calling DefaultApi->ratingflagcomment: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The comment to flag. (default to null)
comment = comment_example # String | Comment why should this should be removed. (optional) (default to null)

try: 
    # Flags one comment for moderation
    api_instance.ratingflagcomment(token, id, comment=comment)
except ApiException as e:
    print("Exception when calling DefaultApi->ratingflagcomment: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let comment = comment_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.ratingflagcomment(token, id, comment, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The comment to flag.
Required
comment
String
Comment why should this should be removed.

Responses


ratingget

Get rating for one or more entities


/ratingget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/ratingget?token=&type=&entityids="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String type = type_example; // String | The entity type to get the rating.
        String entityids = entityids_example; // String | List of ids to get the ratings.
        try {
            apiInstance.ratingget(token, type, entityids);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratingget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String type = type_example; // String | The entity type to get the rating.
        String entityids = entityids_example; // String | List of ids to get the ratings.
        try {
            apiInstance.ratingget(token, type, entityids);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratingget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *type = type_example; // The entity type to get the rating. (default to null)
String *entityids = entityids_example; // List of ids to get the ratings. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get rating for one or more entities
[apiInstance ratinggetWith:token
    type:type
    entityids:entityids
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var type = type_example; // {String} The entity type to get the rating.
var entityids = entityids_example; // {String} List of ids to get the ratings.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ratingget(token, type, entityids, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class ratinggetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var type = type_example;  // String | The entity type to get the rating. (default to null)
            var entityids = entityids_example;  // String | List of ids to get the ratings. (default to null)

            try
            {
                // Get rating for one or more entities
                apiInstance.ratingget(token, type, entityids);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ratingget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$type = type_example; // String | The entity type to get the rating.
$entityids = entityids_example; // String | List of ids to get the ratings.

try {
    $api_instance->ratingget($token, $type, $entityids);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ratingget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $type = type_example; # String | The entity type to get the rating.
my $entityids = entityids_example; # String | List of ids to get the ratings.

eval { 
    $api_instance->ratingget(token => $token, type => $type, entityids => $entityids);
};
if ($@) {
    warn "Exception when calling DefaultApi->ratingget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
type = type_example # String | The entity type to get the rating. (default to null)
entityids = entityids_example # String | List of ids to get the ratings. (default to null)

try: 
    # Get rating for one or more entities
    api_instance.ratingget(token, type, entityids)
except ApiException as e:
    print("Exception when calling DefaultApi->ratingget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let type = type_example; // String
    let entityids = entityids_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.ratingget(token, type, entityids, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
type*
String
The entity type to get the rating.
Required
entityids*
String
List of ids to get the ratings.
Required

Responses


ratinggetall

Gets the full ratings and comments for a specific entity


/ratinggetall

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/ratinggetall?token=&type=&entityid=&mostrecentfirst="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String type = type_example; // String | The entity type to get the rating.
        String entityid = entityid_example; // String | Id of the entity to get the ratings.
        Boolean mostrecentfirst = true; // Boolean | True to show most recent first, otherwise most helpful first.
        try {
            apiInstance.ratinggetall(token, type, entityid, mostrecentfirst);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratinggetall");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String type = type_example; // String | The entity type to get the rating.
        String entityid = entityid_example; // String | Id of the entity to get the ratings.
        Boolean mostrecentfirst = true; // Boolean | True to show most recent first, otherwise most helpful first.
        try {
            apiInstance.ratinggetall(token, type, entityid, mostrecentfirst);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratinggetall");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *type = type_example; // The entity type to get the rating. (default to null)
String *entityid = entityid_example; // Id of the entity to get the ratings. (default to null)
Boolean *mostrecentfirst = true; // True to show most recent first, otherwise most helpful first. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the full ratings and comments for a specific entity
[apiInstance ratinggetallWith:token
    type:type
    entityid:entityid
    mostrecentfirst:mostrecentfirst
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var type = type_example; // {String} The entity type to get the rating.
var entityid = entityid_example; // {String} Id of the entity to get the ratings.
var opts = {
  'mostrecentfirst': true // {Boolean} True to show most recent first, otherwise most helpful first.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ratinggetall(token, type, entityid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class ratinggetallExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var type = type_example;  // String | The entity type to get the rating. (default to null)
            var entityid = entityid_example;  // String | Id of the entity to get the ratings. (default to null)
            var mostrecentfirst = true;  // Boolean | True to show most recent first, otherwise most helpful first. (optional)  (default to null)

            try
            {
                // Gets the full ratings and comments for a specific entity
                apiInstance.ratinggetall(token, type, entityid, mostrecentfirst);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ratinggetall: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$type = type_example; // String | The entity type to get the rating.
$entityid = entityid_example; // String | Id of the entity to get the ratings.
$mostrecentfirst = true; // Boolean | True to show most recent first, otherwise most helpful first.

try {
    $api_instance->ratinggetall($token, $type, $entityid, $mostrecentfirst);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ratinggetall: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $type = type_example; # String | The entity type to get the rating.
my $entityid = entityid_example; # String | Id of the entity to get the ratings.
my $mostrecentfirst = true; # Boolean | True to show most recent first, otherwise most helpful first.

eval { 
    $api_instance->ratinggetall(token => $token, type => $type, entityid => $entityid, mostrecentfirst => $mostrecentfirst);
};
if ($@) {
    warn "Exception when calling DefaultApi->ratinggetall: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
type = type_example # String | The entity type to get the rating. (default to null)
entityid = entityid_example # String | Id of the entity to get the ratings. (default to null)
mostrecentfirst = true # Boolean | True to show most recent first, otherwise most helpful first. (optional) (default to null)

try: 
    # Gets the full ratings and comments for a specific entity
    api_instance.ratinggetall(token, type, entityid, mostrecentfirst=mostrecentfirst)
except ApiException as e:
    print("Exception when calling DefaultApi->ratinggetall: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let type = type_example; // String
    let entityid = entityid_example; // String
    let mostrecentfirst = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.ratinggetall(token, type, entityid, mostrecentfirst, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
type*
String
The entity type to get the rating.
Required
entityid*
String
Id of the entity to get the ratings.
Required
mostrecentfirst
Boolean
True to show most recent first, otherwise most helpful first.

Responses


ratinggetcomments

Gets all the comments for a rating


/ratinggetcomments

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/ratinggetcomments?token=&ratingid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the rating to get all comments.
        try {
            apiInstance.ratinggetcomments(token, ratingid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratinggetcomments");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the rating to get all comments.
        try {
            apiInstance.ratinggetcomments(token, ratingid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratinggetcomments");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The ID of the rating to get all comments. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets all the comments for a rating
[apiInstance ratinggetcommentsWith:token
    ratingid:ratingid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The ID of the rating to get all comments.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ratinggetcomments(token, ratingid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class ratinggetcommentsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var ratingid = new UUID(); // UUID | The ID of the rating to get all comments. (default to null)

            try
            {
                // Gets all the comments for a rating
                apiInstance.ratinggetcomments(token, ratingid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ratinggetcomments: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the rating to get all comments.

try {
    $api_instance->ratinggetcomments($token, $ratingid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ratinggetcomments: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The ID of the rating to get all comments.

eval { 
    $api_instance->ratinggetcomments(token => $token, ratingid => $ratingid);
};
if ($@) {
    warn "Exception when calling DefaultApi->ratinggetcomments: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The ID of the rating to get all comments. (default to null)

try: 
    # Gets all the comments for a rating
    api_instance.ratinggetcomments(token, ratingid)
except ApiException as e:
    print("Exception when calling DefaultApi->ratinggetcomments: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.ratinggetcomments(token, ratingid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
ratingid*
UUID (uuid)
The ID of the rating to get all comments.
Required

Responses


ratinggetpending

Gets info of pre-saved and pre-approved ratings


/ratinggetpending

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/ratinggetpending?getgroup=&rateid=&rateval="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID getgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the group of pending ratings to get.
        UUID rateid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Rate this before returning.
        Integer rateval = 56; // Integer | The value used to rate the item specified in rateid.
        try {
            apiInstance.ratinggetpending(getgroup, rateid, rateval);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratinggetpending");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID getgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the group of pending ratings to get.
        UUID rateid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Rate this before returning.
        Integer rateval = 56; // Integer | The value used to rate the item specified in rateid.
        try {
            apiInstance.ratinggetpending(getgroup, rateid, rateval);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratinggetpending");
            e.printStackTrace();
        }
    }
}
UUID *getgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The ID of the group of pending ratings to get. (default to null)
UUID *rateid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Rate this before returning. (optional) (default to null)
Integer *rateval = 56; // The value used to rate the item specified in rateid. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets info of pre-saved and pre-approved ratings
[apiInstance ratinggetpendingWith:getgroup
    rateid:rateid
    rateval:rateval
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var getgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The ID of the group of pending ratings to get.
var opts = {
  'rateid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} Rate this before returning.
  'rateval': 56 // {Integer} The value used to rate the item specified in rateid.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ratinggetpending(getgroup, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class ratinggetpendingExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var getgroup = new UUID(); // UUID | The ID of the group of pending ratings to get. (default to null)
            var rateid = new UUID(); // UUID | Rate this before returning. (optional)  (default to null)
            var rateval = 56;  // Integer | The value used to rate the item specified in rateid. (optional)  (default to null)

            try
            {
                // Gets info of pre-saved and pre-approved ratings
                apiInstance.ratinggetpending(getgroup, rateid, rateval);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ratinggetpending: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$getgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the group of pending ratings to get.
$rateid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Rate this before returning.
$rateval = 56; // Integer | The value used to rate the item specified in rateid.

try {
    $api_instance->ratinggetpending($getgroup, $rateid, $rateval);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ratinggetpending: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $getgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The ID of the group of pending ratings to get.
my $rateid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Rate this before returning.
my $rateval = 56; # Integer | The value used to rate the item specified in rateid.

eval { 
    $api_instance->ratinggetpending(getgroup => $getgroup, rateid => $rateid, rateval => $rateval);
};
if ($@) {
    warn "Exception when calling DefaultApi->ratinggetpending: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
getgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The ID of the group of pending ratings to get. (default to null)
rateid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Rate this before returning. (optional) (default to null)
rateval = 56 # Integer | The value used to rate the item specified in rateid. (optional) (default to null)

try: 
    # Gets info of pre-saved and pre-approved ratings
    api_instance.ratinggetpending(getgroup, rateid=rateid, rateval=rateval)
except ApiException as e:
    print("Exception when calling DefaultApi->ratinggetpending: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let getgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let rateid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let rateval = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.ratinggetpending(getgroup, rateid, rateval, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
getgroup*
UUID (uuid)
The ID of the group of pending ratings to get.
Required
rateid
UUID (uuid)
Rate this before returning.
rateval
Integer (int32)
The value used to rate the item specified in rateid.

Responses


ratinggetpendingmoderation

Shows a list of the ratings and comments that are pending for moderation

Allows the user to view the list of pending ratings and comments.


/ratinggetpendingmoderation

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/ratinggetpendingmoderation?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.ratinggetpendingmoderation(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratinggetpendingmoderation");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.ratinggetpendingmoderation(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratinggetpendingmoderation");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Shows a list of the ratings and comments that are pending for moderation
[apiInstance ratinggetpendingmoderationWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ratinggetpendingmoderation(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class ratinggetpendingmoderationExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Shows a list of the ratings and comments that are pending for moderation
                apiInstance.ratinggetpendingmoderation(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ratinggetpendingmoderation: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->ratinggetpendingmoderation($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ratinggetpendingmoderation: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->ratinggetpendingmoderation(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->ratinggetpendingmoderation: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Shows a list of the ratings and comments that are pending for moderation
    api_instance.ratinggetpendingmoderation(token)
except ApiException as e:
    print("Exception when calling DefaultApi->ratinggetpendingmoderation: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.ratinggetpendingmoderation(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


ratingmoderate

Allows the user to accept or reject a comment

Allows the user to approve or reject a comment or rating.


/ratingmoderate

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/ratingmoderate?token=&type=&id=&approve="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String type = type_example; // String | Either 'rating' or 'comment' depending on what you want to moderate.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the rating or comment, as specified in type.
        Boolean approve = true; // Boolean | True to approve, false to reject.
        try {
            apiInstance.ratingmoderate(token, type, id, approve);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratingmoderate");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String type = type_example; // String | Either 'rating' or 'comment' depending on what you want to moderate.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the rating or comment, as specified in type.
        Boolean approve = true; // Boolean | True to approve, false to reject.
        try {
            apiInstance.ratingmoderate(token, type, id, approve);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratingmoderate");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *type = type_example; // Either 'rating' or 'comment' depending on what you want to moderate. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Id of the rating or comment, as specified in type. (default to null)
Boolean *approve = true; // True to approve, false to reject. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Allows the user to accept or reject a comment
[apiInstance ratingmoderateWith:token
    type:type
    id:id
    approve:approve
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var type = type_example; // {String} Either 'rating' or 'comment' depending on what you want to moderate.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} Id of the rating or comment, as specified in type.
var approve = true; // {Boolean} True to approve, false to reject.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ratingmoderate(token, type, id, approve, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class ratingmoderateExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var type = type_example;  // String | Either 'rating' or 'comment' depending on what you want to moderate. (default to null)
            var id = new UUID(); // UUID | Id of the rating or comment, as specified in type. (default to null)
            var approve = true;  // Boolean | True to approve, false to reject. (default to null)

            try
            {
                // Allows the user to accept or reject a comment
                apiInstance.ratingmoderate(token, type, id, approve);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ratingmoderate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$type = type_example; // String | Either 'rating' or 'comment' depending on what you want to moderate.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the rating or comment, as specified in type.
$approve = true; // Boolean | True to approve, false to reject.

try {
    $api_instance->ratingmoderate($token, $type, $id, $approve);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ratingmoderate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $type = type_example; # String | Either 'rating' or 'comment' depending on what you want to moderate.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Id of the rating or comment, as specified in type.
my $approve = true; # Boolean | True to approve, false to reject.

eval { 
    $api_instance->ratingmoderate(token => $token, type => $type, id => $id, approve => $approve);
};
if ($@) {
    warn "Exception when calling DefaultApi->ratingmoderate: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
type = type_example # String | Either 'rating' or 'comment' depending on what you want to moderate. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Id of the rating or comment, as specified in type. (default to null)
approve = true # Boolean | True to approve, false to reject. (default to null)

try: 
    # Allows the user to accept or reject a comment
    api_instance.ratingmoderate(token, type, id, approve)
except ApiException as e:
    print("Exception when calling DefaultApi->ratingmoderate: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let type = type_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let approve = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.ratingmoderate(token, type, id, approve, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
type*
String
Either 'rating' or 'comment' depending on what you want to moderate.
Required
id*
UUID (uuid)
Id of the rating or comment, as specified in type.
Required
approve*
Boolean
True to approve, false to reject.
Required

Responses


ratingpostcomment

Posts a comments for in a rating


/ratingpostcomment

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/ratingpostcomment?token=&ratingid=&comment=&annonymous="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the rating to post the comment.
        String comment = comment_example; // String | Text of the comment to post.
        Boolean annonymous = true; // Boolean | True to post the comment annonymously.
        try {
            apiInstance.ratingpostcomment(token, ratingid, comment, annonymous);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratingpostcomment");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the rating to post the comment.
        String comment = comment_example; // String | Text of the comment to post.
        Boolean annonymous = true; // Boolean | True to post the comment annonymously.
        try {
            apiInstance.ratingpostcomment(token, ratingid, comment, annonymous);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratingpostcomment");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The ID of the rating to post the comment. (default to null)
String *comment = comment_example; // Text of the comment to post. (default to null)
Boolean *annonymous = true; // True to post the comment annonymously. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Posts a comments for in a rating
[apiInstance ratingpostcommentWith:token
    ratingid:ratingid
    comment:comment
    annonymous:annonymous
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The ID of the rating to post the comment.
var comment = comment_example; // {String} Text of the comment to post.
var annonymous = true; // {Boolean} True to post the comment annonymously.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ratingpostcomment(token, ratingid, comment, annonymous, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class ratingpostcommentExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var ratingid = new UUID(); // UUID | The ID of the rating to post the comment. (default to null)
            var comment = comment_example;  // String | Text of the comment to post. (default to null)
            var annonymous = true;  // Boolean | True to post the comment annonymously. (default to null)

            try
            {
                // Posts a comments for in a rating
                apiInstance.ratingpostcomment(token, ratingid, comment, annonymous);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ratingpostcomment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the rating to post the comment.
$comment = comment_example; // String | Text of the comment to post.
$annonymous = true; // Boolean | True to post the comment annonymously.

try {
    $api_instance->ratingpostcomment($token, $ratingid, $comment, $annonymous);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ratingpostcomment: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The ID of the rating to post the comment.
my $comment = comment_example; # String | Text of the comment to post.
my $annonymous = true; # Boolean | True to post the comment annonymously.

eval { 
    $api_instance->ratingpostcomment(token => $token, ratingid => $ratingid, comment => $comment, annonymous => $annonymous);
};
if ($@) {
    warn "Exception when calling DefaultApi->ratingpostcomment: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The ID of the rating to post the comment. (default to null)
comment = comment_example # String | Text of the comment to post. (default to null)
annonymous = true # Boolean | True to post the comment annonymously. (default to null)

try: 
    # Posts a comments for in a rating
    api_instance.ratingpostcomment(token, ratingid, comment, annonymous)
except ApiException as e:
    print("Exception when calling DefaultApi->ratingpostcomment: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let comment = comment_example; // String
    let annonymous = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.ratingpostcomment(token, ratingid, comment, annonymous, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
ratingid*
UUID (uuid)
The ID of the rating to post the comment.
Required
comment*
String
Text of the comment to post.
Required
annonymous*
Boolean
True to post the comment annonymously.
Required

Responses


ratingrate

Rates one entity


/ratingrate

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/ratingrate?token=&type=&entityid=&value=&annonymous=&comment=&updatecomment="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String type = type_example; // String | The entity type to rate.
        String entityid = entityid_example; // String | Id of the entity to rate.
        Boolean annonymous = true; // Boolean | Whether to post as annonymous.
        Integer value = 56; // Integer | Value from 0 to 100 with the rating.
        String comment = comment_example; // String | Comment associated with this review. Comment can be updated later on another request too.
        Boolean updatecomment = true; // Boolean | Whether to update the comments. Defaults to true.
        try {
            apiInstance.ratingrate(token, type, entityid, annonymous, value, comment, updatecomment);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratingrate");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String type = type_example; // String | The entity type to rate.
        String entityid = entityid_example; // String | Id of the entity to rate.
        Boolean annonymous = true; // Boolean | Whether to post as annonymous.
        Integer value = 56; // Integer | Value from 0 to 100 with the rating.
        String comment = comment_example; // String | Comment associated with this review. Comment can be updated later on another request too.
        Boolean updatecomment = true; // Boolean | Whether to update the comments. Defaults to true.
        try {
            apiInstance.ratingrate(token, type, entityid, annonymous, value, comment, updatecomment);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratingrate");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *type = type_example; // The entity type to rate. (default to null)
String *entityid = entityid_example; // Id of the entity to rate. (default to null)
Boolean *annonymous = true; // Whether to post as annonymous. (default to null)
Integer *value = 56; // Value from 0 to 100 with the rating. (optional) (default to null)
String *comment = comment_example; // Comment associated with this review. Comment can be updated later on another request too. (optional) (default to null)
Boolean *updatecomment = true; // Whether to update the comments. Defaults to true. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Rates one entity
[apiInstance ratingrateWith:token
    type:type
    entityid:entityid
    annonymous:annonymous
    value:value
    comment:comment
    updatecomment:updatecomment
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var type = type_example; // {String} The entity type to rate.
var entityid = entityid_example; // {String} Id of the entity to rate.
var annonymous = true; // {Boolean} Whether to post as annonymous.
var opts = {
  'value': 56, // {Integer} Value from 0 to 100 with the rating.
  'comment': comment_example, // {String} Comment associated with this review. Comment can be updated later on another request too.
  'updatecomment': true // {Boolean} Whether to update the comments. Defaults to true.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ratingrate(token, type, entityid, annonymous, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class ratingrateExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var type = type_example;  // String | The entity type to rate. (default to null)
            var entityid = entityid_example;  // String | Id of the entity to rate. (default to null)
            var annonymous = true;  // Boolean | Whether to post as annonymous. (default to null)
            var value = 56;  // Integer | Value from 0 to 100 with the rating. (optional)  (default to null)
            var comment = comment_example;  // String | Comment associated with this review. Comment can be updated later on another request too. (optional)  (default to null)
            var updatecomment = true;  // Boolean | Whether to update the comments. Defaults to true. (optional)  (default to null)

            try
            {
                // Rates one entity
                apiInstance.ratingrate(token, type, entityid, annonymous, value, comment, updatecomment);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ratingrate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$type = type_example; // String | The entity type to rate.
$entityid = entityid_example; // String | Id of the entity to rate.
$annonymous = true; // Boolean | Whether to post as annonymous.
$value = 56; // Integer | Value from 0 to 100 with the rating.
$comment = comment_example; // String | Comment associated with this review. Comment can be updated later on another request too.
$updatecomment = true; // Boolean | Whether to update the comments. Defaults to true.

try {
    $api_instance->ratingrate($token, $type, $entityid, $annonymous, $value, $comment, $updatecomment);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ratingrate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $type = type_example; # String | The entity type to rate.
my $entityid = entityid_example; # String | Id of the entity to rate.
my $annonymous = true; # Boolean | Whether to post as annonymous.
my $value = 56; # Integer | Value from 0 to 100 with the rating.
my $comment = comment_example; # String | Comment associated with this review. Comment can be updated later on another request too.
my $updatecomment = true; # Boolean | Whether to update the comments. Defaults to true.

eval { 
    $api_instance->ratingrate(token => $token, type => $type, entityid => $entityid, annonymous => $annonymous, value => $value, comment => $comment, updatecomment => $updatecomment);
};
if ($@) {
    warn "Exception when calling DefaultApi->ratingrate: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
type = type_example # String | The entity type to rate. (default to null)
entityid = entityid_example # String | Id of the entity to rate. (default to null)
annonymous = true # Boolean | Whether to post as annonymous. (default to null)
value = 56 # Integer | Value from 0 to 100 with the rating. (optional) (default to null)
comment = comment_example # String | Comment associated with this review. Comment can be updated later on another request too. (optional) (default to null)
updatecomment = true # Boolean | Whether to update the comments. Defaults to true. (optional) (default to null)

try: 
    # Rates one entity
    api_instance.ratingrate(token, type, entityid, annonymous, value=value, comment=comment, updatecomment=updatecomment)
except ApiException as e:
    print("Exception when calling DefaultApi->ratingrate: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let type = type_example; // String
    let entityid = entityid_example; // String
    let annonymous = true; // Boolean
    let value = 56; // Integer
    let comment = comment_example; // String
    let updatecomment = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.ratingrate(token, type, entityid, annonymous, value, comment, updatecomment, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
type*
String
The entity type to rate.
Required
entityid*
String
Id of the entity to rate.
Required
value
Integer (int32)
Value from 0 to 100 with the rating.
annonymous*
Boolean
Whether to post as annonymous.
Required
comment
String
Comment associated with this review. Comment can be updated later on another request too.
updatecomment
Boolean
Whether to update the comments. Defaults to true.

Responses


ratingratepending

Rates a pre-saved and pre-approved entity


/ratingratepending

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/ratingratepending?group=&rateid=&value=&annonymous=&comment=&updatecomment="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the group of with pre-approved ratings.
        Boolean annonymous = true; // Boolean | Whether to post as annonymous.
        UUID rateid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Rate this before returning.
        Integer value = 56; // Integer | Value from 0 to 100 with the rating.
        String comment = comment_example; // String | Comment associated with this review. Comment can be updated later on another request too.
        Boolean updatecomment = true; // Boolean | Whether to update the comments. Defaults to true.
        try {
            apiInstance.ratingratepending(group, annonymous, rateid, value, comment, updatecomment);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratingratepending");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the group of with pre-approved ratings.
        Boolean annonymous = true; // Boolean | Whether to post as annonymous.
        UUID rateid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Rate this before returning.
        Integer value = 56; // Integer | Value from 0 to 100 with the rating.
        String comment = comment_example; // String | Comment associated with this review. Comment can be updated later on another request too.
        Boolean updatecomment = true; // Boolean | Whether to update the comments. Defaults to true.
        try {
            apiInstance.ratingratepending(group, annonymous, rateid, value, comment, updatecomment);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratingratepending");
            e.printStackTrace();
        }
    }
}
UUID *group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The ID of the group of with pre-approved ratings. (default to null)
Boolean *annonymous = true; // Whether to post as annonymous. (default to null)
UUID *rateid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Rate this before returning. (optional) (default to null)
Integer *value = 56; // Value from 0 to 100 with the rating. (optional) (default to null)
String *comment = comment_example; // Comment associated with this review. Comment can be updated later on another request too. (optional) (default to null)
Boolean *updatecomment = true; // Whether to update the comments. Defaults to true. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Rates a pre-saved and pre-approved entity
[apiInstance ratingratependingWith:group
    annonymous:annonymous
    rateid:rateid
    value:value
    comment:comment
    updatecomment:updatecomment
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The ID of the group of with pre-approved ratings.
var annonymous = true; // {Boolean} Whether to post as annonymous.
var opts = {
  'rateid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} Rate this before returning.
  'value': 56, // {Integer} Value from 0 to 100 with the rating.
  'comment': comment_example, // {String} Comment associated with this review. Comment can be updated later on another request too.
  'updatecomment': true // {Boolean} Whether to update the comments. Defaults to true.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ratingratepending(group, annonymous, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class ratingratependingExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var group = new UUID(); // UUID | The ID of the group of with pre-approved ratings. (default to null)
            var annonymous = true;  // Boolean | Whether to post as annonymous. (default to null)
            var rateid = new UUID(); // UUID | Rate this before returning. (optional)  (default to null)
            var value = 56;  // Integer | Value from 0 to 100 with the rating. (optional)  (default to null)
            var comment = comment_example;  // String | Comment associated with this review. Comment can be updated later on another request too. (optional)  (default to null)
            var updatecomment = true;  // Boolean | Whether to update the comments. Defaults to true. (optional)  (default to null)

            try
            {
                // Rates a pre-saved and pre-approved entity
                apiInstance.ratingratepending(group, annonymous, rateid, value, comment, updatecomment);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ratingratepending: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the group of with pre-approved ratings.
$annonymous = true; // Boolean | Whether to post as annonymous.
$rateid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Rate this before returning.
$value = 56; // Integer | Value from 0 to 100 with the rating.
$comment = comment_example; // String | Comment associated with this review. Comment can be updated later on another request too.
$updatecomment = true; // Boolean | Whether to update the comments. Defaults to true.

try {
    $api_instance->ratingratepending($group, $annonymous, $rateid, $value, $comment, $updatecomment);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ratingratepending: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The ID of the group of with pre-approved ratings.
my $annonymous = true; # Boolean | Whether to post as annonymous.
my $rateid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Rate this before returning.
my $value = 56; # Integer | Value from 0 to 100 with the rating.
my $comment = comment_example; # String | Comment associated with this review. Comment can be updated later on another request too.
my $updatecomment = true; # Boolean | Whether to update the comments. Defaults to true.

eval { 
    $api_instance->ratingratepending(group => $group, annonymous => $annonymous, rateid => $rateid, value => $value, comment => $comment, updatecomment => $updatecomment);
};
if ($@) {
    warn "Exception when calling DefaultApi->ratingratepending: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
group = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The ID of the group of with pre-approved ratings. (default to null)
annonymous = true # Boolean | Whether to post as annonymous. (default to null)
rateid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Rate this before returning. (optional) (default to null)
value = 56 # Integer | Value from 0 to 100 with the rating. (optional) (default to null)
comment = comment_example # String | Comment associated with this review. Comment can be updated later on another request too. (optional) (default to null)
updatecomment = true # Boolean | Whether to update the comments. Defaults to true. (optional) (default to null)

try: 
    # Rates a pre-saved and pre-approved entity
    api_instance.ratingratepending(group, annonymous, rateid=rateid, value=value, comment=comment, updatecomment=updatecomment)
except ApiException as e:
    print("Exception when calling DefaultApi->ratingratepending: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let annonymous = true; // Boolean
    let rateid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let value = 56; // Integer
    let comment = comment_example; // String
    let updatecomment = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.ratingratepending(group, annonymous, rateid, value, comment, updatecomment, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
group*
UUID (uuid)
The ID of the group of with pre-approved ratings.
Required
rateid
UUID (uuid)
Rate this before returning.
value
Integer (int32)
Value from 0 to 100 with the rating.
annonymous*
Boolean
Whether to post as annonymous.
Required
comment
String
Comment associated with this review. Comment can be updated later on another request too.
updatecomment
Boolean
Whether to update the comments. Defaults to true.

Responses


ratingvote

Votes up or down a rating


/ratingvote

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/ratingvote?token=&ratingid=&vote="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the rating to vote on.
        Integer vote = 56; // Integer | 1 to vote up, -1 to vote down.
        try {
            apiInstance.ratingvote(token, ratingid, vote);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratingvote");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the rating to vote on.
        Integer vote = 56; // Integer | 1 to vote up, -1 to vote down.
        try {
            apiInstance.ratingvote(token, ratingid, vote);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ratingvote");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The ID of the rating to vote on. (default to null)
Integer *vote = 56; // 1 to vote up, -1 to vote down. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Votes up or down a rating
[apiInstance ratingvoteWith:token
    ratingid:ratingid
    vote:vote
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The ID of the rating to vote on.
var vote = 56; // {Integer} 1 to vote up, -1 to vote down.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ratingvote(token, ratingid, vote, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class ratingvoteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var ratingid = new UUID(); // UUID | The ID of the rating to vote on. (default to null)
            var vote = 56;  // Integer | 1 to vote up, -1 to vote down. (default to null)

            try
            {
                // Votes up or down a rating
                apiInstance.ratingvote(token, ratingid, vote);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ratingvote: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the rating to vote on.
$vote = 56; // Integer | 1 to vote up, -1 to vote down.

try {
    $api_instance->ratingvote($token, $ratingid, $vote);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ratingvote: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The ID of the rating to vote on.
my $vote = 56; # Integer | 1 to vote up, -1 to vote down.

eval { 
    $api_instance->ratingvote(token => $token, ratingid => $ratingid, vote => $vote);
};
if ($@) {
    warn "Exception when calling DefaultApi->ratingvote: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The ID of the rating to vote on. (default to null)
vote = 56 # Integer | 1 to vote up, -1 to vote down. (default to null)

try: 
    # Votes up or down a rating
    api_instance.ratingvote(token, ratingid, vote)
except ApiException as e:
    print("Exception when calling DefaultApi->ratingvote: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let ratingid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let vote = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.ratingvote(token, ratingid, vote, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
ratingid*
UUID (uuid)
The ID of the rating to vote on.
Required
vote*
Integer (int32)
1 to vote up, -1 to vote down.
Required

Responses


reportattanalyticsprepare

Query and load an attendance analytics report

Allows the user to query and load attendance analytics reports.


/reportattanalyticsprepare

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/reportattanalyticsprepare?token=&reportname=¶ms=&refreshgroup="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String reportname = reportname_example; // String | The name of the report to execute
        String params = params_example; // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
        UUID refreshgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the group to check (and refresh) before processing the report.
        try {
            apiInstance.reportattanalyticsprepare(token, reportname, params, refreshgroup);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportattanalyticsprepare");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String reportname = reportname_example; // String | The name of the report to execute
        String params = params_example; // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
        UUID refreshgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the group to check (and refresh) before processing the report.
        try {
            apiInstance.reportattanalyticsprepare(token, reportname, params, refreshgroup);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportattanalyticsprepare");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *reportname = reportname_example; // The name of the report to execute (default to null)
String *params = params_example; // A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3 (optional) (default to null)
UUID *refreshgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The ID of the group to check (and refresh) before processing the report. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Query and load an attendance analytics report
[apiInstance reportattanalyticsprepareWith:token
    reportname:reportname
    params:params
    refreshgroup:refreshgroup
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var reportname = reportname_example; // {String} The name of the report to execute
var opts = {
  'params': params_example, // {String} A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
  'refreshgroup': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} The ID of the group to check (and refresh) before processing the report.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.reportattanalyticsprepare(token, reportname, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class reportattanalyticsprepareExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var reportname = reportname_example;  // String | The name of the report to execute (default to null)
            var params = params_example;  // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3 (optional)  (default to null)
            var refreshgroup = new UUID(); // UUID | The ID of the group to check (and refresh) before processing the report. (optional)  (default to null)

            try
            {
                // Query and load an attendance analytics report
                apiInstance.reportattanalyticsprepare(token, reportname, params, refreshgroup);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.reportattanalyticsprepare: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$reportname = reportname_example; // String | The name of the report to execute
$params = params_example; // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
$refreshgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the group to check (and refresh) before processing the report.

try {
    $api_instance->reportattanalyticsprepare($token, $reportname, $params, $refreshgroup);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->reportattanalyticsprepare: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $reportname = reportname_example; # String | The name of the report to execute
my $params = params_example; # String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
my $refreshgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The ID of the group to check (and refresh) before processing the report.

eval { 
    $api_instance->reportattanalyticsprepare(token => $token, reportname => $reportname, params => $params, refreshgroup => $refreshgroup);
};
if ($@) {
    warn "Exception when calling DefaultApi->reportattanalyticsprepare: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
reportname = reportname_example # String | The name of the report to execute (default to null)
params = params_example # String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3 (optional) (default to null)
refreshgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The ID of the group to check (and refresh) before processing the report. (optional) (default to null)

try: 
    # Query and load an attendance analytics report
    api_instance.reportattanalyticsprepare(token, reportname, params=params, refreshgroup=refreshgroup)
except ApiException as e:
    print("Exception when calling DefaultApi->reportattanalyticsprepare: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let reportname = reportname_example; // String
    let params = params_example; // String
    let refreshgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.reportattanalyticsprepare(token, reportname, params, refreshgroup, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
reportname*
String
The name of the report to execute
Required
params
String
A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
refreshgroup
UUID (uuid)
The ID of the group to check (and refresh) before processing the report.

Responses


reportlist

View a list of available reports

Allows the user to view the complete list of available, canned reports.


/reportlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/reportlist?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.reportlist(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.reportlist(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of available reports
[apiInstance reportlistWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.reportlist(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class reportlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View a list of available reports
                apiInstance.reportlist(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.reportlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->reportlist($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->reportlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->reportlist(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->reportlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View a list of available reports
    api_instance.reportlist(token)
except ApiException as e:
    print("Exception when calling DefaultApi->reportlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.reportlist(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


reportpermissionsbyuser

Permissions by user report

Lists all the users in the system including their corresponding permissions.


/reportpermissionsbyuser

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/reportpermissionsbyuser?token=¶ms="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String params = params_example; // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
        try {
            apiInstance.reportpermissionsbyuser(token, params);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportpermissionsbyuser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String params = params_example; // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
        try {
            apiInstance.reportpermissionsbyuser(token, params);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportpermissionsbyuser");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *params = params_example; // A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3 (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Permissions by user report
[apiInstance reportpermissionsbyuserWith:token
    params:params
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'params': params_example // {String} A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.reportpermissionsbyuser(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class reportpermissionsbyuserExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var params = params_example;  // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3 (optional)  (default to null)

            try
            {
                // Permissions by user report
                apiInstance.reportpermissionsbyuser(token, params);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.reportpermissionsbyuser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$params = params_example; // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3

try {
    $api_instance->reportpermissionsbyuser($token, $params);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->reportpermissionsbyuser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $params = params_example; # String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3

eval { 
    $api_instance->reportpermissionsbyuser(token => $token, params => $params);
};
if ($@) {
    warn "Exception when calling DefaultApi->reportpermissionsbyuser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
params = params_example # String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3 (optional) (default to null)

try: 
    # Permissions by user report
    api_instance.reportpermissionsbyuser(token, params=params)
except ApiException as e:
    print("Exception when calling DefaultApi->reportpermissionsbyuser: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let params = params_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.reportpermissionsbyuser(token, params, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
params
String
A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3

Responses


reportprepare

Queries and loads the specified report, in background.

Allows the user to run reports, in background, with the exception of attendance analytics reports.


/reportprepare

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/reportprepare?token=&reportname=¶ms=&repformat=&fillgroupid=&groupby=&refreshgroup=&filtertext="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String reportname = reportname_example; // String | The name of the report to execute
        String params = params_example; // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
        String repformat = repformat_example; // String | The format of the resulting report. Json, pdf, csv, ...
        UUID fillgroupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | If specified, the result is used to fill the group with the given ID
        String groupby = groupby_example; // String | How to group the records. In the format 'col1+col2|col3+col4
        UUID refreshgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the group to check (and refresh) before processing the report.
        String filtertext = filtertext_example; // String | The user friendly text of the applied filters.
        try {
            apiInstance.reportprepare(token, reportname, params, repformat, fillgroupid, groupby, refreshgroup, filtertext);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportprepare");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String reportname = reportname_example; // String | The name of the report to execute
        String params = params_example; // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
        String repformat = repformat_example; // String | The format of the resulting report. Json, pdf, csv, ...
        UUID fillgroupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | If specified, the result is used to fill the group with the given ID
        String groupby = groupby_example; // String | How to group the records. In the format 'col1+col2|col3+col4
        UUID refreshgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the group to check (and refresh) before processing the report.
        String filtertext = filtertext_example; // String | The user friendly text of the applied filters.
        try {
            apiInstance.reportprepare(token, reportname, params, repformat, fillgroupid, groupby, refreshgroup, filtertext);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportprepare");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *reportname = reportname_example; // The name of the report to execute (default to null)
String *params = params_example; // A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3 (optional) (default to null)
String *repformat = repformat_example; // The format of the resulting report. Json, pdf, csv, ... (optional) (default to null)
UUID *fillgroupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // If specified, the result is used to fill the group with the given ID (optional) (default to null)
String *groupby = groupby_example; // How to group the records. In the format 'col1+col2|col3+col4 (optional) (default to null)
UUID *refreshgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The ID of the group to check (and refresh) before processing the report. (optional) (default to null)
String *filtertext = filtertext_example; // The user friendly text of the applied filters. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Queries and loads the specified report, in background.
[apiInstance reportprepareWith:token
    reportname:reportname
    params:params
    repformat:repformat
    fillgroupid:fillgroupid
    groupby:groupby
    refreshgroup:refreshgroup
    filtertext:filtertext
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var reportname = reportname_example; // {String} The name of the report to execute
var opts = {
  'params': params_example, // {String} A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
  'repformat': repformat_example, // {String} The format of the resulting report. Json, pdf, csv, ...
  'fillgroupid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} If specified, the result is used to fill the group with the given ID
  'groupby': groupby_example, // {String} How to group the records. In the format 'col1+col2|col3+col4
  'refreshgroup': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The ID of the group to check (and refresh) before processing the report.
  'filtertext': filtertext_example // {String} The user friendly text of the applied filters.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.reportprepare(token, reportname, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class reportprepareExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var reportname = reportname_example;  // String | The name of the report to execute (default to null)
            var params = params_example;  // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3 (optional)  (default to null)
            var repformat = repformat_example;  // String | The format of the resulting report. Json, pdf, csv, ... (optional)  (default to null)
            var fillgroupid = new UUID(); // UUID | If specified, the result is used to fill the group with the given ID (optional)  (default to null)
            var groupby = groupby_example;  // String | How to group the records. In the format 'col1+col2|col3+col4 (optional)  (default to null)
            var refreshgroup = new UUID(); // UUID | The ID of the group to check (and refresh) before processing the report. (optional)  (default to null)
            var filtertext = filtertext_example;  // String | The user friendly text of the applied filters. (optional)  (default to null)

            try
            {
                // Queries and loads the specified report, in background.
                apiInstance.reportprepare(token, reportname, params, repformat, fillgroupid, groupby, refreshgroup, filtertext);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.reportprepare: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$reportname = reportname_example; // String | The name of the report to execute
$params = params_example; // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
$repformat = repformat_example; // String | The format of the resulting report. Json, pdf, csv, ...
$fillgroupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | If specified, the result is used to fill the group with the given ID
$groupby = groupby_example; // String | How to group the records. In the format 'col1+col2|col3+col4
$refreshgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the group to check (and refresh) before processing the report.
$filtertext = filtertext_example; // String | The user friendly text of the applied filters.

try {
    $api_instance->reportprepare($token, $reportname, $params, $repformat, $fillgroupid, $groupby, $refreshgroup, $filtertext);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->reportprepare: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $reportname = reportname_example; # String | The name of the report to execute
my $params = params_example; # String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
my $repformat = repformat_example; # String | The format of the resulting report. Json, pdf, csv, ...
my $fillgroupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | If specified, the result is used to fill the group with the given ID
my $groupby = groupby_example; # String | How to group the records. In the format 'col1+col2|col3+col4
my $refreshgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The ID of the group to check (and refresh) before processing the report.
my $filtertext = filtertext_example; # String | The user friendly text of the applied filters.

eval { 
    $api_instance->reportprepare(token => $token, reportname => $reportname, params => $params, repformat => $repformat, fillgroupid => $fillgroupid, groupby => $groupby, refreshgroup => $refreshgroup, filtertext => $filtertext);
};
if ($@) {
    warn "Exception when calling DefaultApi->reportprepare: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
reportname = reportname_example # String | The name of the report to execute (default to null)
params = params_example # String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3 (optional) (default to null)
repformat = repformat_example # String | The format of the resulting report. Json, pdf, csv, ... (optional) (default to null)
fillgroupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | If specified, the result is used to fill the group with the given ID (optional) (default to null)
groupby = groupby_example # String | How to group the records. In the format 'col1+col2|col3+col4 (optional) (default to null)
refreshgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The ID of the group to check (and refresh) before processing the report. (optional) (default to null)
filtertext = filtertext_example # String | The user friendly text of the applied filters. (optional) (default to null)

try: 
    # Queries and loads the specified report, in background.
    api_instance.reportprepare(token, reportname, params=params, repformat=repformat, fillgroupid=fillgroupid, groupby=groupby, refreshgroup=refreshgroup, filtertext=filtertext)
except ApiException as e:
    print("Exception when calling DefaultApi->reportprepare: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let reportname = reportname_example; // String
    let params = params_example; // String
    let repformat = repformat_example; // String
    let fillgroupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let groupby = groupby_example; // String
    let refreshgroup = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let filtertext = filtertext_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.reportprepare(token, reportname, params, repformat, fillgroupid, groupby, refreshgroup, filtertext, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
reportname*
String
The name of the report to execute
Required
params
String
A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
repformat
String
The format of the resulting report. Json, pdf, csv, ...
fillgroupid
UUID (uuid)
If specified, the result is used to fill the group with the given ID
groupby
String
How to group the records. In the format 'col1+col2|col3+col4
refreshgroup
UUID (uuid)
The ID of the group to check (and refresh) before processing the report.
filtertext
String
The user friendly text of the applied filters.

Responses


reportquery

Query and load a specified report

Allows the user to run reports with the exception of attendance analytics reports.


/reportquery

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/reportquery?token=&reportname=¶ms="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String reportname = reportname_example; // String | The name of the report to execute
        String params = params_example; // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
        try {
            apiInstance.reportquery(token, reportname, params);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportquery");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String reportname = reportname_example; // String | The name of the report to execute
        String params = params_example; // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
        try {
            apiInstance.reportquery(token, reportname, params);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportquery");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *reportname = reportname_example; // The name of the report to execute (default to null)
String *params = params_example; // A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3 (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Query and load a specified report
[apiInstance reportqueryWith:token
    reportname:reportname
    params:params
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var reportname = reportname_example; // {String} The name of the report to execute
var opts = {
  'params': params_example // {String} A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.reportquery(token, reportname, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class reportqueryExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var reportname = reportname_example;  // String | The name of the report to execute (default to null)
            var params = params_example;  // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3 (optional)  (default to null)

            try
            {
                // Query and load a specified report
                apiInstance.reportquery(token, reportname, params);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.reportquery: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$reportname = reportname_example; // String | The name of the report to execute
$params = params_example; // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3

try {
    $api_instance->reportquery($token, $reportname, $params);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->reportquery: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $reportname = reportname_example; # String | The name of the report to execute
my $params = params_example; # String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3

eval { 
    $api_instance->reportquery(token => $token, reportname => $reportname, params => $params);
};
if ($@) {
    warn "Exception when calling DefaultApi->reportquery: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
reportname = reportname_example # String | The name of the report to execute (default to null)
params = params_example # String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3 (optional) (default to null)

try: 
    # Query and load a specified report
    api_instance.reportquery(token, reportname, params=params)
except ApiException as e:
    print("Exception when calling DefaultApi->reportquery: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let reportname = reportname_example; // String
    let params = params_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.reportquery(token, reportname, params, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
reportname*
String
The name of the report to execute
Required
params
String
A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3

Responses


reportscheduledelete

Delete a report schedule

Allows the user to delete a scheduled report that they created.


/reportscheduledelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/reportscheduledelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the report schedule to delete.
        try {
            apiInstance.reportscheduledelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportscheduledelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the report schedule to delete.
        try {
            apiInstance.reportscheduledelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportscheduledelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the report schedule to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a report schedule
[apiInstance reportscheduledeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the report schedule to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.reportscheduledelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class reportscheduledeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the report schedule to delete. (default to null)

            try
            {
                // Delete a report schedule
                apiInstance.reportscheduledelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.reportscheduledelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the report schedule to delete.

try {
    $api_instance->reportscheduledelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->reportscheduledelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the report schedule to delete.

eval { 
    $api_instance->reportscheduledelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->reportscheduledelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the report schedule to delete. (default to null)

try: 
    # Delete a report schedule
    api_instance.reportscheduledelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->reportscheduledelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.reportscheduledelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the report schedule to delete.
Required

Responses


reportscheduleget

Get a report schedule

Allows the user to view the list of reports that they scheduled.


/reportscheduleget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/reportscheduleget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule to get.
        try {
            apiInstance.reportscheduleget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportscheduleget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule to get.
        try {
            apiInstance.reportscheduleget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportscheduleget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the schedule to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get a report schedule
[apiInstance reportschedulegetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the schedule to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.reportscheduleget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class reportschedulegetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the schedule to get. (default to null)

            try
            {
                // Get a report schedule
                apiInstance.reportscheduleget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.reportscheduleget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule to get.

try {
    $api_instance->reportscheduleget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->reportscheduleget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the schedule to get.

eval { 
    $api_instance->reportscheduleget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->reportscheduleget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the schedule to get. (default to null)

try: 
    # Get a report schedule
    api_instance.reportscheduleget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->reportscheduleget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.reportscheduleget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the schedule to get.
Required

Responses


reportschedulelist

View a list of the scheduled reports

Allows the user to view a list of the scheduled reports.


/reportschedulelist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/reportschedulelist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.reportschedulelist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportschedulelist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.reportschedulelist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportschedulelist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of the scheduled reports
[apiInstance reportschedulelistWith:token
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.reportschedulelist(token, from, count, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class reportschedulelistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)

            try
            {
                // View a list of the scheduled reports
                apiInstance.reportschedulelist(token, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.reportschedulelist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->reportschedulelist($token, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->reportschedulelist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->reportschedulelist(token => $token, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->reportschedulelist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)

try: 
    # View a list of the scheduled reports
    api_instance.reportschedulelist(token, from, count)
except ApiException as e:
    print("Exception when calling DefaultApi->reportschedulelist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.reportschedulelist(token, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


reportschedulesave

Create or edit a report schedule

Allows the user to create or edit a scheduled report.


/reportschedulesave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/reportschedulesave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.reportschedulesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportschedulesave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.reportschedulesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportschedulesave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a report schedule
[apiInstance reportschedulesaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.reportschedulesave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class reportschedulesaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a report schedule
                apiInstance.reportschedulesave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.reportschedulesave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->reportschedulesave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->reportschedulesave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->reportschedulesave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->reportschedulesave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a report schedule
    api_instance.reportschedulesave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->reportschedulesave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.reportschedulesave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


reporttagresults

Queries and loads a report in background and assigns (or unassigns) the specified tags to (from) the resulting users.

Allows the user to use a report to assign or unassign tags.


/reporttagresults

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/reporttagresults?token=&reportname=&assign=&tags=¶ms="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String reportname = reportname_example; // String | The name of the report to execute
        Boolean assign = true; // Boolean | Specify whether the specified tags have to be assigned or unassigned.
        String tags = tags_example; // String | The tags to assign (or unassign) to the resulting users in the report, in JSON format.
        String params = params_example; // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
        try {
            apiInstance.reporttagresults(token, reportname, assign, tags, params);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reporttagresults");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String reportname = reportname_example; // String | The name of the report to execute
        Boolean assign = true; // Boolean | Specify whether the specified tags have to be assigned or unassigned.
        String tags = tags_example; // String | The tags to assign (or unassign) to the resulting users in the report, in JSON format.
        String params = params_example; // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
        try {
            apiInstance.reporttagresults(token, reportname, assign, tags, params);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reporttagresults");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *reportname = reportname_example; // The name of the report to execute (default to null)
Boolean *assign = true; // Specify whether the specified tags have to be assigned or unassigned. (default to null)
String *tags = tags_example; // The tags to assign (or unassign) to the resulting users in the report, in JSON format. (default to null)
String *params = params_example; // A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3 (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Queries and loads a report in background and assigns (or unassigns) the specified tags to (from) the resulting users.
[apiInstance reporttagresultsWith:token
    reportname:reportname
    assign:assign
    tags:tags
    params:params
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var reportname = reportname_example; // {String} The name of the report to execute
var assign = true; // {Boolean} Specify whether the specified tags have to be assigned or unassigned.
var tags = tags_example; // {String} The tags to assign (or unassign) to the resulting users in the report, in JSON format.
var opts = {
  'params': params_example // {String} A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.reporttagresults(token, reportname, assign, tags, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class reporttagresultsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var reportname = reportname_example;  // String | The name of the report to execute (default to null)
            var assign = true;  // Boolean | Specify whether the specified tags have to be assigned or unassigned. (default to null)
            var tags = tags_example;  // String | The tags to assign (or unassign) to the resulting users in the report, in JSON format. (default to null)
            var params = params_example;  // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3 (optional)  (default to null)

            try
            {
                // Queries and loads a report in background and assigns (or unassigns) the specified tags to (from) the resulting users.
                apiInstance.reporttagresults(token, reportname, assign, tags, params);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.reporttagresults: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$reportname = reportname_example; // String | The name of the report to execute
$assign = true; // Boolean | Specify whether the specified tags have to be assigned or unassigned.
$tags = tags_example; // String | The tags to assign (or unassign) to the resulting users in the report, in JSON format.
$params = params_example; // String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3

try {
    $api_instance->reporttagresults($token, $reportname, $assign, $tags, $params);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->reporttagresults: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $reportname = reportname_example; # String | The name of the report to execute
my $assign = true; # Boolean | Specify whether the specified tags have to be assigned or unassigned.
my $tags = tags_example; # String | The tags to assign (or unassign) to the resulting users in the report, in JSON format.
my $params = params_example; # String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3

eval { 
    $api_instance->reporttagresults(token => $token, reportname => $reportname, assign => $assign, tags => $tags, params => $params);
};
if ($@) {
    warn "Exception when calling DefaultApi->reporttagresults: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
reportname = reportname_example # String | The name of the report to execute (default to null)
assign = true # Boolean | Specify whether the specified tags have to be assigned or unassigned. (default to null)
tags = tags_example # String | The tags to assign (or unassign) to the resulting users in the report, in JSON format. (default to null)
params = params_example # String | A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3 (optional) (default to null)

try: 
    # Queries and loads a report in background and assigns (or unassigns) the specified tags to (from) the resulting users.
    api_instance.reporttagresults(token, reportname, assign, tags, params=params)
except ApiException as e:
    print("Exception when calling DefaultApi->reporttagresults: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let reportname = reportname_example; // String
    let assign = true; // Boolean
    let tags = tags_example; // String
    let params = params_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.reporttagresults(token, reportname, assign, tags, params, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
reportname*
String
The name of the report to execute
Required
assign*
Boolean
Specify whether the specified tags have to be assigned or unassigned.
Required
tags*
String
The tags to assign (or unassign) to the resulting users in the report, in JSON format.
Required
params
String
A pipe separated list of the parameters. Example: key1=value1|key2=value2|key3=value3

Responses


riskmodelcheckanalysis

Check the status of the analysis of a specified risk assessment model

Allows the user to check the status of a risk assessment model as it is being processed.


/riskmodelcheckanalysis

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/riskmodelcheckanalysis?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the risk assessment model whose analysis status has to be returned.
        try {
            apiInstance.riskmodelcheckanalysis(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodelcheckanalysis");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the risk assessment model whose analysis status has to be returned.
        try {
            apiInstance.riskmodelcheckanalysis(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodelcheckanalysis");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the risk assessment model whose analysis status has to be returned. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Check the status of the analysis of a specified risk assessment model
[apiInstance riskmodelcheckanalysisWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the risk assessment model whose analysis status has to be returned.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.riskmodelcheckanalysis(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class riskmodelcheckanalysisExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the risk assessment model whose analysis status has to be returned. (default to null)

            try
            {
                // Check the status of the analysis of a specified risk assessment model
                apiInstance.riskmodelcheckanalysis(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.riskmodelcheckanalysis: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the risk assessment model whose analysis status has to be returned.

try {
    $api_instance->riskmodelcheckanalysis($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->riskmodelcheckanalysis: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the risk assessment model whose analysis status has to be returned.

eval { 
    $api_instance->riskmodelcheckanalysis(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->riskmodelcheckanalysis: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the risk assessment model whose analysis status has to be returned. (default to null)

try: 
    # Check the status of the analysis of a specified risk assessment model
    api_instance.riskmodelcheckanalysis(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->riskmodelcheckanalysis: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.riskmodelcheckanalysis(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the risk assessment model whose analysis status has to be returned.
Required

Responses


riskmodeldelete

Delete a risk assessment model

Allows the user to delete a previously created risk assessment model.


/riskmodeldelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/riskmodeldelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the risk assessment model to delete.
        try {
            apiInstance.riskmodeldelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodeldelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the risk assessment model to delete.
        try {
            apiInstance.riskmodeldelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodeldelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the risk assessment model to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a risk assessment model
[apiInstance riskmodeldeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the risk assessment model to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.riskmodeldelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class riskmodeldeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the risk assessment model to delete. (default to null)

            try
            {
                // Delete a risk assessment model
                apiInstance.riskmodeldelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.riskmodeldelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the risk assessment model to delete.

try {
    $api_instance->riskmodeldelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->riskmodeldelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the risk assessment model to delete.

eval { 
    $api_instance->riskmodeldelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->riskmodeldelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the risk assessment model to delete. (default to null)

try: 
    # Delete a risk assessment model
    api_instance.riskmodeldelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->riskmodeldelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.riskmodeldelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the risk assessment model to delete.
Required

Responses


riskmodelget

View details of a risk assessment model

Allows the user to view an individual risk assessment model and its details.


/riskmodelget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/riskmodelget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the risk assessment model to get.
        try {
            apiInstance.riskmodelget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodelget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the risk assessment model to get.
        try {
            apiInstance.riskmodelget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodelget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the risk assessment model to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a risk assessment model
[apiInstance riskmodelgetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the risk assessment model to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.riskmodelget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class riskmodelgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the risk assessment model to get. (default to null)

            try
            {
                // View details of a risk assessment model
                apiInstance.riskmodelget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.riskmodelget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the risk assessment model to get.

try {
    $api_instance->riskmodelget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->riskmodelget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the risk assessment model to get.

eval { 
    $api_instance->riskmodelget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->riskmodelget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the risk assessment model to get. (default to null)

try: 
    # View details of a risk assessment model
    api_instance.riskmodelget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->riskmodelget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.riskmodelget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the risk assessment model to get.
Required

Responses


riskmodelgetscore

View the risk score for a specific user

Allows the user to view the risk score of another user.


/riskmodelgetscore

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/riskmodelgetscore?token=&userid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to get the risk score.
        try {
            apiInstance.riskmodelgetscore(token, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodelgetscore");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to get the risk score.
        try {
            apiInstance.riskmodelgetscore(token, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodelgetscore");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to get the risk score. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View the risk score for a specific user
[apiInstance riskmodelgetscoreWith:token
    userid:userid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to get the risk score.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.riskmodelgetscore(token, userid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class riskmodelgetscoreExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to get the risk score. (default to null)

            try
            {
                // View the risk score for a specific user
                apiInstance.riskmodelgetscore(token, userid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.riskmodelgetscore: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to get the risk score.

try {
    $api_instance->riskmodelgetscore($token, $userid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->riskmodelgetscore: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to get the risk score.

eval { 
    $api_instance->riskmodelgetscore(token => $token, userid => $userid);
};
if ($@) {
    warn "Exception when calling DefaultApi->riskmodelgetscore: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to get the risk score. (default to null)

try: 
    # View the risk score for a specific user
    api_instance.riskmodelgetscore(token, userid)
except ApiException as e:
    print("Exception when calling DefaultApi->riskmodelgetscore: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.riskmodelgetscore(token, userid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to get the risk score.
Required

Responses


riskmodellist

View a list of risk assessment models

Allows the user to view the full list of risk assessment models.


/riskmodellist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/riskmodellist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.riskmodellist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodellist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.riskmodellist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodellist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of risk assessment models
[apiInstance riskmodellistWith:token
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.riskmodellist(token, from, count, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class riskmodellistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)

            try
            {
                // View a list of risk assessment models
                apiInstance.riskmodellist(token, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.riskmodellist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->riskmodellist($token, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->riskmodellist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->riskmodellist(token => $token, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->riskmodellist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)

try: 
    # View a list of risk assessment models
    api_instance.riskmodellist(token, from, count)
except ApiException as e:
    print("Exception when calling DefaultApi->riskmodellist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.riskmodellist(token, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


riskmodelpredict

Predict risk based on an assessment model

Allows a user to process a risk prediction from a risk assessment model that has processed.


/riskmodelpredict

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/riskmodelpredict?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the assessment model to use in order to predict risk.
        try {
            apiInstance.riskmodelpredict(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodelpredict");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the assessment model to use in order to predict risk.
        try {
            apiInstance.riskmodelpredict(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodelpredict");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the assessment model to use in order to predict risk. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Predict risk based on an assessment model
[apiInstance riskmodelpredictWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the assessment model to use in order to predict risk.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.riskmodelpredict(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class riskmodelpredictExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the assessment model to use in order to predict risk. (default to null)

            try
            {
                // Predict risk based on an assessment model
                apiInstance.riskmodelpredict(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.riskmodelpredict: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the assessment model to use in order to predict risk.

try {
    $api_instance->riskmodelpredict($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->riskmodelpredict: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the assessment model to use in order to predict risk.

eval { 
    $api_instance->riskmodelpredict(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->riskmodelpredict: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the assessment model to use in order to predict risk. (default to null)

try: 
    # Predict risk based on an assessment model
    api_instance.riskmodelpredict(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->riskmodelpredict: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.riskmodelpredict(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the assessment model to use in order to predict risk.
Required

Responses


riskmodelprocess

Process a risk assessment model

Allows the user to process a risk assessment model once it has been created.


/riskmodelprocess

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/riskmodelprocess?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the risk assessment model to process.
        try {
            apiInstance.riskmodelprocess(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodelprocess");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the risk assessment model to process.
        try {
            apiInstance.riskmodelprocess(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodelprocess");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the risk assessment model to process. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Process a risk assessment model
[apiInstance riskmodelprocessWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the risk assessment model to process.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.riskmodelprocess(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class riskmodelprocessExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the risk assessment model to process. (default to null)

            try
            {
                // Process a risk assessment model
                apiInstance.riskmodelprocess(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.riskmodelprocess: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the risk assessment model to process.

try {
    $api_instance->riskmodelprocess($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->riskmodelprocess: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the risk assessment model to process.

eval { 
    $api_instance->riskmodelprocess(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->riskmodelprocess: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the risk assessment model to process. (default to null)

try: 
    # Process a risk assessment model
    api_instance.riskmodelprocess(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->riskmodelprocess: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.riskmodelprocess(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the risk assessment model to process.
Required

Responses


riskmodelrefresh

Refresh the information used in a risk assessment model

Allows the user to refresh a risk assessment model.


/riskmodelrefresh

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/riskmodelrefresh?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the risk assessment model whose information has to be refreshed.
        try {
            apiInstance.riskmodelrefresh(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodelrefresh");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the risk assessment model whose information has to be refreshed.
        try {
            apiInstance.riskmodelrefresh(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodelrefresh");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the risk assessment model whose information has to be refreshed. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Refresh the information used in a risk assessment model
[apiInstance riskmodelrefreshWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the risk assessment model whose information has to be refreshed.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.riskmodelrefresh(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class riskmodelrefreshExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the risk assessment model whose information has to be refreshed. (default to null)

            try
            {
                // Refresh the information used in a risk assessment model
                apiInstance.riskmodelrefresh(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.riskmodelrefresh: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the risk assessment model whose information has to be refreshed.

try {
    $api_instance->riskmodelrefresh($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->riskmodelrefresh: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the risk assessment model whose information has to be refreshed.

eval { 
    $api_instance->riskmodelrefresh(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->riskmodelrefresh: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the risk assessment model whose information has to be refreshed. (default to null)

try: 
    # Refresh the information used in a risk assessment model
    api_instance.riskmodelrefresh(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->riskmodelrefresh: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.riskmodelrefresh(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the risk assessment model whose information has to be refreshed.
Required

Responses


riskmodelsave

Create or edit a risk assessment model

Allows the user to create or edit a risk assessment model.


/riskmodelsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/riskmodelsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.riskmodelsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodelsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.riskmodelsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodelsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a risk assessment model
[apiInstance riskmodelsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.riskmodelsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class riskmodelsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a risk assessment model
                apiInstance.riskmodelsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.riskmodelsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->riskmodelsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->riskmodelsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->riskmodelsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->riskmodelsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a risk assessment model
    api_instance.riskmodelsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->riskmodelsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.riskmodelsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


riskmodeltermprecedences

View all default term precedences

Allows the user to view the default term precedences used in a model.


/riskmodeltermprecedences

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/riskmodeltermprecedences?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.riskmodeltermprecedences(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodeltermprecedences");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.riskmodeltermprecedences(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#riskmodeltermprecedences");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View all default term precedences
[apiInstance riskmodeltermprecedencesWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.riskmodeltermprecedences(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class riskmodeltermprecedencesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View all default term precedences
                apiInstance.riskmodeltermprecedences(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.riskmodeltermprecedences: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->riskmodeltermprecedences($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->riskmodeltermprecedences: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->riskmodeltermprecedences(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->riskmodeltermprecedences: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View all default term precedences
    api_instance.riskmodeltermprecedences(token)
except ApiException as e:
    print("Exception when calling DefaultApi->riskmodeltermprecedences: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.riskmodeltermprecedences(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


rolelist

Show a list of roles


/rolelist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/rolelist?token=&name="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String name = name_example; // String | Filter by name of the role.
        try {
            apiInstance.rolelist(token, name);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rolelist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String name = name_example; // String | Filter by name of the role.
        try {
            apiInstance.rolelist(token, name);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rolelist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *name = name_example; // Filter by name of the role. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Show a list of roles
[apiInstance rolelistWith:token
    name:name
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'name': name_example // {String} Filter by name of the role.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.rolelist(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class rolelistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var name = name_example;  // String | Filter by name of the role. (optional)  (default to null)

            try
            {
                // Show a list of roles
                apiInstance.rolelist(token, name);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.rolelist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$name = name_example; // String | Filter by name of the role.

try {
    $api_instance->rolelist($token, $name);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->rolelist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $name = name_example; # String | Filter by name of the role.

eval { 
    $api_instance->rolelist(token => $token, name => $name);
};
if ($@) {
    warn "Exception when calling DefaultApi->rolelist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
name = name_example # String | Filter by name of the role. (optional) (default to null)

try: 
    # Show a list of roles
    api_instance.rolelist(token, name=name)
except ApiException as e:
    print("Exception when calling DefaultApi->rolelist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let name = name_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.rolelist(token, name, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
name
String
Filter by name of the role.

Responses


ruledelete

Delete a rule

Allows the user to delete an existing rule.


/ruledelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/ruledelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the rule to delete.
        try {
            apiInstance.ruledelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ruledelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the rule to delete.
        try {
            apiInstance.ruledelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ruledelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the rule to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a rule
[apiInstance ruledeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the rule to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ruledelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class ruledeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the rule to delete. (default to null)

            try
            {
                // Delete a rule
                apiInstance.ruledelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ruledelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the rule to delete.

try {
    $api_instance->ruledelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ruledelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the rule to delete.

eval { 
    $api_instance->ruledelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->ruledelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the rule to delete. (default to null)

try: 
    # Delete a rule
    api_instance.ruledelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->ruledelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.ruledelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the rule to delete.
Required

Responses


ruleget

View details of a rule

Allows the user to view an individual rule and its details.


/ruleget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/ruleget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the rule to get.
        try {
            apiInstance.ruleget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ruleget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the rule to get.
        try {
            apiInstance.ruleget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ruleget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the rule to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a rule
[apiInstance rulegetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the rule to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ruleget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class rulegetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the rule to get. (default to null)

            try
            {
                // View details of a rule
                apiInstance.ruleget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ruleget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the rule to get.

try {
    $api_instance->ruleget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ruleget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the rule to get.

eval { 
    $api_instance->ruleget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->ruleget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the rule to get. (default to null)

try: 
    # View details of a rule
    api_instance.ruleget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->ruleget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.ruleget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the rule to get.
Required

Responses


rulegeteventtype

View details of a rule event type

Allows the user to view the trigger and its available conditions for the rule.


/rulegeteventtype

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/rulegeteventtype?token=&event="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String event = event_example; // String | The name of the event to refresh.
        try {
            apiInstance.rulegeteventtype(token, event);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rulegeteventtype");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String event = event_example; // String | The name of the event to refresh.
        try {
            apiInstance.rulegeteventtype(token, event);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rulegeteventtype");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *event = event_example; // The name of the event to refresh. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a rule event type
[apiInstance rulegeteventtypeWith:token
    event:event
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var event = event_example; // {String} The name of the event to refresh.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.rulegeteventtype(token, event, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class rulegeteventtypeExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var event = event_example;  // String | The name of the event to refresh. (default to null)

            try
            {
                // View details of a rule event type
                apiInstance.rulegeteventtype(token, event);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.rulegeteventtype: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$event = event_example; // String | The name of the event to refresh.

try {
    $api_instance->rulegeteventtype($token, $event);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->rulegeteventtype: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $event = event_example; # String | The name of the event to refresh.

eval { 
    $api_instance->rulegeteventtype(token => $token, event => $event);
};
if ($@) {
    warn "Exception when calling DefaultApi->rulegeteventtype: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
event = event_example # String | The name of the event to refresh. (default to null)

try: 
    # View details of a rule event type
    api_instance.rulegeteventtype(token, event)
except ApiException as e:
    print("Exception when calling DefaultApi->rulegeteventtype: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let event = event_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.rulegeteventtype(token, event, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
event*
String
The name of the event to refresh.
Required

Responses


rulelist

View a list of user rules

Allows the user to view the list of all rules.


/rulelist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/rulelist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.rulelist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rulelist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.rulelist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rulelist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of user rules
[apiInstance rulelistWith:token
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.rulelist(token, from, count, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class rulelistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)

            try
            {
                // View a list of user rules
                apiInstance.rulelist(token, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.rulelist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->rulelist($token, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->rulelist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->rulelist(token => $token, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->rulelist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)

try: 
    # View a list of user rules
    api_instance.rulelist(token, from, count)
except ApiException as e:
    print("Exception when calling DefaultApi->rulelist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.rulelist(token, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


rulelistactions

View a list of rule actions available

Allows the user to view all the available rule actions.


/rulelistactions

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/rulelistactions?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.rulelistactions(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rulelistactions");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.rulelistactions(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rulelistactions");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of rule actions available
[apiInstance rulelistactionsWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.rulelistactions(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class rulelistactionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View a list of rule actions available
                apiInstance.rulelistactions(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.rulelistactions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->rulelistactions($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->rulelistactions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->rulelistactions(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->rulelistactions: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View a list of rule actions available
    api_instance.rulelistactions(token)
except ApiException as e:
    print("Exception when calling DefaultApi->rulelistactions: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.rulelistactions(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


rulelisteventtypes

View a list of rule event types

Allows the user to view a list of available triggers for rules.


/rulelisteventtypes

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/rulelisteventtypes?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.rulelisteventtypes(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rulelisteventtypes");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.rulelisteventtypes(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rulelisteventtypes");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of rule event types
[apiInstance rulelisteventtypesWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.rulelisteventtypes(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class rulelisteventtypesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View a list of rule event types
                apiInstance.rulelisteventtypes(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.rulelisteventtypes: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->rulelisteventtypes($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->rulelisteventtypes: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->rulelisteventtypes(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->rulelisteventtypes: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View a list of rule event types
    api_instance.rulelisteventtypes(token)
except ApiException as e:
    print("Exception when calling DefaultApi->rulelisteventtypes: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.rulelisteventtypes(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


rulelisthttprequests

View all the http requests sent as a result of a rule


/rulelisthttprequests

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/rulelisthttprequests?token=&failed=&status=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Boolean failed = true; // Boolean | If true only failed requests will be returned
        Integer status = 56; // Integer | The http status to filter the requests
        try {
            apiInstance.rulelisthttprequests(token, from, count, failed, status);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rulelisthttprequests");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Boolean failed = true; // Boolean | If true only failed requests will be returned
        Integer status = 56; // Integer | The http status to filter the requests
        try {
            apiInstance.rulelisthttprequests(token, from, count, failed, status);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rulelisthttprequests");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
Boolean *failed = true; // If true only failed requests will be returned (optional) (default to null)
Integer *status = 56; // The http status to filter the requests (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View all the http requests sent as a result of a rule
[apiInstance rulelisthttprequestsWith:token
    from:from
    count:count
    failed:failed
    status:status
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'failed': true, // {Boolean} If true only failed requests will be returned
  'status': 56 // {Integer} The http status to filter the requests
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.rulelisthttprequests(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class rulelisthttprequestsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var failed = true;  // Boolean | If true only failed requests will be returned (optional)  (default to null)
            var status = 56;  // Integer | The http status to filter the requests (optional)  (default to null)

            try
            {
                // View all the http requests sent as a result of a rule
                apiInstance.rulelisthttprequests(token, from, count, failed, status);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.rulelisthttprequests: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$failed = true; // Boolean | If true only failed requests will be returned
$status = 56; // Integer | The http status to filter the requests

try {
    $api_instance->rulelisthttprequests($token, $from, $count, $failed, $status);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->rulelisthttprequests: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $failed = true; # Boolean | If true only failed requests will be returned
my $status = 56; # Integer | The http status to filter the requests

eval { 
    $api_instance->rulelisthttprequests(token => $token, from => $from, count => $count, failed => $failed, status => $status);
};
if ($@) {
    warn "Exception when calling DefaultApi->rulelisthttprequests: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
failed = true # Boolean | If true only failed requests will be returned (optional) (default to null)
status = 56 # Integer | The http status to filter the requests (optional) (default to null)

try: 
    # View all the http requests sent as a result of a rule
    api_instance.rulelisthttprequests(token, from, count, failed=failed, status=status)
except ApiException as e:
    print("Exception when calling DefaultApi->rulelisthttprequests: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let failed = true; // Boolean
    let status = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.rulelisthttprequests(token, from, count, failed, status, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
failed
Boolean
If true only failed requests will be returned
status
Integer (int32)
The http status to filter the requests
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


rulesave

Create or edit a rule

Allows the user to create or edit a rule.


/rulesave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/rulesave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.rulesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rulesave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.rulesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rulesave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a rule
[apiInstance rulesaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.rulesave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class rulesaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a rule
                apiInstance.rulesave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.rulesave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->rulesave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->rulesave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->rulesave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->rulesave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a rule
    api_instance.rulesave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->rulesave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.rulesave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


scheduledelete

Delete a schedule slot

Allows the user to delete a schedule slot from another user.


/scheduledelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/scheduledelete?token=&scheduleid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule.
        try {
            apiInstance.scheduledelete(token, scheduleid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduledelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule.
        try {
            apiInstance.scheduledelete(token, scheduleid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduledelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the schedule. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a schedule slot
[apiInstance scheduledeleteWith:token
    scheduleid:scheduleid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the schedule.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.scheduledelete(token, scheduleid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class scheduledeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var scheduleid = new UUID(); // UUID | The id of the schedule. (default to null)

            try
            {
                // Delete a schedule slot
                apiInstance.scheduledelete(token, scheduleid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.scheduledelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule.

try {
    $api_instance->scheduledelete($token, $scheduleid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->scheduledelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the schedule.

eval { 
    $api_instance->scheduledelete(token => $token, scheduleid => $scheduleid);
};
if ($@) {
    warn "Exception when calling DefaultApi->scheduledelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the schedule. (default to null)

try: 
    # Delete a schedule slot
    api_instance.scheduledelete(token, scheduleid)
except ApiException as e:
    print("Exception when calling DefaultApi->scheduledelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.scheduledelete(token, scheduleid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
scheduleid*
UUID (uuid)
The id of the schedule.
Required

Responses


scheduledeletemine

Delete a specific block from a user's own schedule

Allows the user to delete a schedule block from their own availability.


/scheduledeletemine

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/scheduledeletemine?token=&scheduleid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule.
        try {
            apiInstance.scheduledeletemine(token, scheduleid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduledeletemine");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule.
        try {
            apiInstance.scheduledeletemine(token, scheduleid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduledeletemine");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the schedule. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a specific block from a user's own schedule
[apiInstance scheduledeletemineWith:token
    scheduleid:scheduleid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the schedule.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.scheduledeletemine(token, scheduleid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class scheduledeletemineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var scheduleid = new UUID(); // UUID | The id of the schedule. (default to null)

            try
            {
                // Delete a specific block from a user's own schedule
                apiInstance.scheduledeletemine(token, scheduleid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.scheduledeletemine: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule.

try {
    $api_instance->scheduledeletemine($token, $scheduleid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->scheduledeletemine: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the schedule.

eval { 
    $api_instance->scheduledeletemine(token => $token, scheduleid => $scheduleid);
};
if ($@) {
    warn "Exception when calling DefaultApi->scheduledeletemine: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the schedule. (default to null)

try: 
    # Delete a specific block from a user's own schedule
    api_instance.scheduledeletemine(token, scheduleid)
except ApiException as e:
    print("Exception when calling DefaultApi->scheduledeletemine: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.scheduledeletemine(token, scheduleid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
scheduleid*
UUID (uuid)
The id of the schedule.
Required

Responses


scheduleenable

Enable or disable the schedule for a specific person

Allows the user to enable or disable a schedule for another user.


/scheduleenable

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/scheduleenable?token=&userid=&enable="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to enable or disable the schedule.
        Boolean enable = true; // Boolean | True to enable schedules, false to disable.
        try {
            apiInstance.scheduleenable(token, userid, enable);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduleenable");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to enable or disable the schedule.
        Boolean enable = true; // Boolean | True to enable schedules, false to disable.
        try {
            apiInstance.scheduleenable(token, userid, enable);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduleenable");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to enable or disable the schedule. (default to null)
Boolean *enable = true; // True to enable schedules, false to disable. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Enable or disable the schedule for a specific person
[apiInstance scheduleenableWith:token
    userid:userid
    enable:enable
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to enable or disable the schedule.
var enable = true; // {Boolean} True to enable schedules, false to disable.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.scheduleenable(token, userid, enable, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class scheduleenableExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to enable or disable the schedule. (default to null)
            var enable = true;  // Boolean | True to enable schedules, false to disable. (default to null)

            try
            {
                // Enable or disable the schedule for a specific person
                apiInstance.scheduleenable(token, userid, enable);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.scheduleenable: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to enable or disable the schedule.
$enable = true; // Boolean | True to enable schedules, false to disable.

try {
    $api_instance->scheduleenable($token, $userid, $enable);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->scheduleenable: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to enable or disable the schedule.
my $enable = true; # Boolean | True to enable schedules, false to disable.

eval { 
    $api_instance->scheduleenable(token => $token, userid => $userid, enable => $enable);
};
if ($@) {
    warn "Exception when calling DefaultApi->scheduleenable: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to enable or disable the schedule. (default to null)
enable = true # Boolean | True to enable schedules, false to disable. (default to null)

try: 
    # Enable or disable the schedule for a specific person
    api_instance.scheduleenable(token, userid, enable)
except ApiException as e:
    print("Exception when calling DefaultApi->scheduleenable: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let enable = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.scheduleenable(token, userid, enable, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to enable or disable the schedule.
Required
enable*
Boolean
True to enable schedules, false to disable.
Required

Responses


scheduleenablemine

Enable or disable current user's schedule

Allows the user to enable or disable a schedule for himself.


/scheduleenablemine

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/scheduleenablemine?token=&enable="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Boolean enable = true; // Boolean | True to enable schedules, false to disable.
        try {
            apiInstance.scheduleenablemine(token, enable);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduleenablemine");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Boolean enable = true; // Boolean | True to enable schedules, false to disable.
        try {
            apiInstance.scheduleenablemine(token, enable);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduleenablemine");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Boolean *enable = true; // True to enable schedules, false to disable. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Enable or disable current user's schedule
[apiInstance scheduleenablemineWith:token
    enable:enable
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var enable = true; // {Boolean} True to enable schedules, false to disable.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.scheduleenablemine(token, enable, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class scheduleenablemineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var enable = true;  // Boolean | True to enable schedules, false to disable. (default to null)

            try
            {
                // Enable or disable current user's schedule
                apiInstance.scheduleenablemine(token, enable);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.scheduleenablemine: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$enable = true; // Boolean | True to enable schedules, false to disable.

try {
    $api_instance->scheduleenablemine($token, $enable);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->scheduleenablemine: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $enable = true; # Boolean | True to enable schedules, false to disable.

eval { 
    $api_instance->scheduleenablemine(token => $token, enable => $enable);
};
if ($@) {
    warn "Exception when calling DefaultApi->scheduleenablemine: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
enable = true # Boolean | True to enable schedules, false to disable. (default to null)

try: 
    # Enable or disable current user's schedule
    api_instance.scheduleenablemine(token, enable)
except ApiException as e:
    print("Exception when calling DefaultApi->scheduleenablemine: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let enable = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.scheduleenablemine(token, enable, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
enable*
Boolean
True to enable schedules, false to disable.
Required

Responses


schedulefindallstaffslots

Search available schedule slots by service, event, date

Allows users to search available slots.


/schedulefindallstaffslots

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/schedulefindallstaffslots?token=&starttime=&endtime=&staffid=&serviceids=&eventid=&locationid=&staffroleids=&availablefor="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
        Date endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
        UUID staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff to filter by.
        String serviceids = serviceids_example; // String | CSV list of the service Ids to filter by.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to filter by.
        String staffroleids = staffroleids_example; // String | CSV list of the staff member role ids to filter by.
        String availablefor = availablefor_example; // String | The specific availability type to filter by.
        try {
            apiInstance.schedulefindallstaffslots(token, starttime, endtime, staffid, serviceids, eventid, locationid, staffroleids, availablefor);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulefindallstaffslots");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
        Date endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
        UUID staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff to filter by.
        String serviceids = serviceids_example; // String | CSV list of the service Ids to filter by.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to filter by.
        String staffroleids = staffroleids_example; // String | CSV list of the staff member role ids to filter by.
        String availablefor = availablefor_example; // String | The specific availability type to filter by.
        try {
            apiInstance.schedulefindallstaffslots(token, starttime, endtime, staffid, serviceids, eventid, locationid, staffroleids, availablefor);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulefindallstaffslots");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Date *starttime = 2013-10-20T19:20:30+01:00; // The start time of the range to look for slots. (default to null)
Date *endtime = 2013-10-20T19:20:30+01:00; // The end time of the range to look for slots. (default to null)
UUID *staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the staff to filter by. (optional) (default to null)
String *serviceids = serviceids_example; // CSV list of the service Ids to filter by. (optional) (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event to filter by. (optional) (default to null)
UUID *locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location to filter by. (optional) (default to null)
String *staffroleids = staffroleids_example; // CSV list of the staff member role ids to filter by. (optional) (default to null)
String *availablefor = availablefor_example; // The specific availability type to filter by. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search available schedule slots by service, event, date
[apiInstance schedulefindallstaffslotsWith:token
    starttime:starttime
    endtime:endtime
    staffid:staffid
    serviceids:serviceids
    eventid:eventid
    locationid:locationid
    staffroleids:staffroleids
    availablefor:availablefor
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var starttime = 2013-10-20T19:20:30+01:00; // {Date} The start time of the range to look for slots.
var endtime = 2013-10-20T19:20:30+01:00; // {Date} The end time of the range to look for slots.
var opts = {
  'staffid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the staff to filter by.
  'serviceids': serviceids_example, // {String} CSV list of the service Ids to filter by.
  'eventid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the event to filter by.
  'locationid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the location to filter by.
  'staffroleids': staffroleids_example, // {String} CSV list of the staff member role ids to filter by.
  'availablefor': availablefor_example // {String} The specific availability type to filter by.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.schedulefindallstaffslots(token, starttime, endtime, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class schedulefindallstaffslotsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var starttime = 2013-10-20T19:20:30+01:00;  // Date | The start time of the range to look for slots. (default to null)
            var endtime = 2013-10-20T19:20:30+01:00;  // Date | The end time of the range to look for slots. (default to null)
            var staffid = new UUID(); // UUID | The id of the staff to filter by. (optional)  (default to null)
            var serviceids = serviceids_example;  // String | CSV list of the service Ids to filter by. (optional)  (default to null)
            var eventid = new UUID(); // UUID | The id of the event to filter by. (optional)  (default to null)
            var locationid = new UUID(); // UUID | The id of the location to filter by. (optional)  (default to null)
            var staffroleids = staffroleids_example;  // String | CSV list of the staff member role ids to filter by. (optional)  (default to null)
            var availablefor = availablefor_example;  // String | The specific availability type to filter by. (optional)  (default to null)

            try
            {
                // Search available schedule slots by service, event, date
                apiInstance.schedulefindallstaffslots(token, starttime, endtime, staffid, serviceids, eventid, locationid, staffroleids, availablefor);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.schedulefindallstaffslots: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
$endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
$staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff to filter by.
$serviceids = serviceids_example; // String | CSV list of the service Ids to filter by.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
$locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to filter by.
$staffroleids = staffroleids_example; // String | CSV list of the staff member role ids to filter by.
$availablefor = availablefor_example; // String | The specific availability type to filter by.

try {
    $api_instance->schedulefindallstaffslots($token, $starttime, $endtime, $staffid, $serviceids, $eventid, $locationid, $staffroleids, $availablefor);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->schedulefindallstaffslots: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $starttime = 2013-10-20T19:20:30+01:00; # Date | The start time of the range to look for slots.
my $endtime = 2013-10-20T19:20:30+01:00; # Date | The end time of the range to look for slots.
my $staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the staff to filter by.
my $serviceids = serviceids_example; # String | CSV list of the service Ids to filter by.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event to filter by.
my $locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location to filter by.
my $staffroleids = staffroleids_example; # String | CSV list of the staff member role ids to filter by.
my $availablefor = availablefor_example; # String | The specific availability type to filter by.

eval { 
    $api_instance->schedulefindallstaffslots(token => $token, starttime => $starttime, endtime => $endtime, staffid => $staffid, serviceids => $serviceids, eventid => $eventid, locationid => $locationid, staffroleids => $staffroleids, availablefor => $availablefor);
};
if ($@) {
    warn "Exception when calling DefaultApi->schedulefindallstaffslots: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
starttime = 2013-10-20T19:20:30+01:00 # Date | The start time of the range to look for slots. (default to null)
endtime = 2013-10-20T19:20:30+01:00 # Date | The end time of the range to look for slots. (default to null)
staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the staff to filter by. (optional) (default to null)
serviceids = serviceids_example # String | CSV list of the service Ids to filter by. (optional) (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event to filter by. (optional) (default to null)
locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location to filter by. (optional) (default to null)
staffroleids = staffroleids_example # String | CSV list of the staff member role ids to filter by. (optional) (default to null)
availablefor = availablefor_example # String | The specific availability type to filter by. (optional) (default to null)

try: 
    # Search available schedule slots by service, event, date
    api_instance.schedulefindallstaffslots(token, starttime, endtime, staffid=staffid, serviceids=serviceids, eventid=eventid, locationid=locationid, staffroleids=staffroleids, availablefor=availablefor)
except ApiException as e:
    print("Exception when calling DefaultApi->schedulefindallstaffslots: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let starttime = 2013-10-20T19:20:30+01:00; // Date
    let endtime = 2013-10-20T19:20:30+01:00; // Date
    let staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let serviceids = serviceids_example; // String
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let staffroleids = staffroleids_example; // String
    let availablefor = availablefor_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.schedulefindallstaffslots(token, starttime, endtime, staffid, serviceids, eventid, locationid, staffroleids, availablefor, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
starttime*
Date (date-time)
The start time of the range to look for slots.
Required
endtime*
Date (date-time)
The end time of the range to look for slots.
Required
staffid
UUID (uuid)
The id of the staff to filter by.
serviceids
String
CSV list of the service Ids to filter by.
eventid
UUID (uuid)
The id of the event to filter by.
locationid
UUID (uuid)
The id of the location to filter by.
staffroleids
String
CSV list of the staff member role ids to filter by.
availablefor
String
The specific availability type to filter by.

Responses


schedulefindslots

Search available schedule slots by service, event, date and/or staff

Allows users to search available slots when making appointments.


/schedulefindslots

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/schedulefindslots?token=&staffid=&starttime=&endtime=&serviceids=&eventid=&locationid=&availablefor="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff to filter by.
        Date starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
        Date endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
        String serviceids = serviceids_example; // String | CSV list of the service Ids to filter by.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to filter by.
        String availablefor = availablefor_example; // String | The specific availability type to filter by.
        try {
            apiInstance.schedulefindslots(token, staffid, starttime, endtime, serviceids, eventid, locationid, availablefor);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulefindslots");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff to filter by.
        Date starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
        Date endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
        String serviceids = serviceids_example; // String | CSV list of the service Ids to filter by.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to filter by.
        String availablefor = availablefor_example; // String | The specific availability type to filter by.
        try {
            apiInstance.schedulefindslots(token, staffid, starttime, endtime, serviceids, eventid, locationid, availablefor);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulefindslots");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the staff to filter by. (default to null)
Date *starttime = 2013-10-20T19:20:30+01:00; // The start time of the range to look for slots. (default to null)
Date *endtime = 2013-10-20T19:20:30+01:00; // The end time of the range to look for slots. (default to null)
String *serviceids = serviceids_example; // CSV list of the service Ids to filter by. (optional) (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event to filter by. (optional) (default to null)
UUID *locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the service to filter by. (optional) (default to null)
String *availablefor = availablefor_example; // The specific availability type to filter by. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search available schedule slots by service, event, date and/or staff
[apiInstance schedulefindslotsWith:token
    staffid:staffid
    starttime:starttime
    endtime:endtime
    serviceids:serviceids
    eventid:eventid
    locationid:locationid
    availablefor:availablefor
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the staff to filter by.
var starttime = 2013-10-20T19:20:30+01:00; // {Date} The start time of the range to look for slots.
var endtime = 2013-10-20T19:20:30+01:00; // {Date} The end time of the range to look for slots.
var opts = {
  'serviceids': serviceids_example, // {String} CSV list of the service Ids to filter by.
  'eventid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the event to filter by.
  'locationid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the service to filter by.
  'availablefor': availablefor_example // {String} The specific availability type to filter by.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.schedulefindslots(token, staffid, starttime, endtime, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class schedulefindslotsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var staffid = new UUID(); // UUID | The id of the staff to filter by. (default to null)
            var starttime = 2013-10-20T19:20:30+01:00;  // Date | The start time of the range to look for slots. (default to null)
            var endtime = 2013-10-20T19:20:30+01:00;  // Date | The end time of the range to look for slots. (default to null)
            var serviceids = serviceids_example;  // String | CSV list of the service Ids to filter by. (optional)  (default to null)
            var eventid = new UUID(); // UUID | The id of the event to filter by. (optional)  (default to null)
            var locationid = new UUID(); // UUID | The id of the service to filter by. (optional)  (default to null)
            var availablefor = availablefor_example;  // String | The specific availability type to filter by. (optional)  (default to null)

            try
            {
                // Search available schedule slots by service, event, date and/or staff
                apiInstance.schedulefindslots(token, staffid, starttime, endtime, serviceids, eventid, locationid, availablefor);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.schedulefindslots: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff to filter by.
$starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
$endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
$serviceids = serviceids_example; // String | CSV list of the service Ids to filter by.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
$locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to filter by.
$availablefor = availablefor_example; // String | The specific availability type to filter by.

try {
    $api_instance->schedulefindslots($token, $staffid, $starttime, $endtime, $serviceids, $eventid, $locationid, $availablefor);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->schedulefindslots: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the staff to filter by.
my $starttime = 2013-10-20T19:20:30+01:00; # Date | The start time of the range to look for slots.
my $endtime = 2013-10-20T19:20:30+01:00; # Date | The end time of the range to look for slots.
my $serviceids = serviceids_example; # String | CSV list of the service Ids to filter by.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event to filter by.
my $locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the service to filter by.
my $availablefor = availablefor_example; # String | The specific availability type to filter by.

eval { 
    $api_instance->schedulefindslots(token => $token, staffid => $staffid, starttime => $starttime, endtime => $endtime, serviceids => $serviceids, eventid => $eventid, locationid => $locationid, availablefor => $availablefor);
};
if ($@) {
    warn "Exception when calling DefaultApi->schedulefindslots: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the staff to filter by. (default to null)
starttime = 2013-10-20T19:20:30+01:00 # Date | The start time of the range to look for slots. (default to null)
endtime = 2013-10-20T19:20:30+01:00 # Date | The end time of the range to look for slots. (default to null)
serviceids = serviceids_example # String | CSV list of the service Ids to filter by. (optional) (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event to filter by. (optional) (default to null)
locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the service to filter by. (optional) (default to null)
availablefor = availablefor_example # String | The specific availability type to filter by. (optional) (default to null)

try: 
    # Search available schedule slots by service, event, date and/or staff
    api_instance.schedulefindslots(token, staffid, starttime, endtime, serviceids=serviceids, eventid=eventid, locationid=locationid, availablefor=availablefor)
except ApiException as e:
    print("Exception when calling DefaultApi->schedulefindslots: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let staffid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let starttime = 2013-10-20T19:20:30+01:00; // Date
    let endtime = 2013-10-20T19:20:30+01:00; // Date
    let serviceids = serviceids_example; // String
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let availablefor = availablefor_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.schedulefindslots(token, staffid, starttime, endtime, serviceids, eventid, locationid, availablefor, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
staffid*
UUID (uuid)
The id of the staff to filter by.
Required
starttime*
Date (date-time)
The start time of the range to look for slots.
Required
endtime*
Date (date-time)
The end time of the range to look for slots.
Required
serviceids
String
CSV list of the service Ids to filter by.
eventid
UUID (uuid)
The id of the event to filter by.
locationid
UUID (uuid)
The id of the service to filter by.
availablefor
String
The specific availability type to filter by.

Responses


schedulefindstaffavail

Search available staff members slots by service, event, and/or date

Allows users to search available staff.


/schedulefindstaffavail

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/schedulefindstaffavail?token=&serviceids=&eventid=&starttime=&endtime=&locationid=&staffroleids=&availablefor=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
        Date endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
        String serviceids = serviceids_example; // String | CSV list of the service ids to filter by.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to filter by.
        String staffroleids = staffroleids_example; // String | CSV list of the staff member role ids to filter by.
        String availablefor = availablefor_example; // String | Filter slots by a specific availability type.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.schedulefindstaffavail(token, starttime, endtime, serviceids, eventid, locationid, staffroleids, availablefor, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulefindstaffavail");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
        Date endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
        String serviceids = serviceids_example; // String | CSV list of the service ids to filter by.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to filter by.
        String staffroleids = staffroleids_example; // String | CSV list of the staff member role ids to filter by.
        String availablefor = availablefor_example; // String | Filter slots by a specific availability type.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.schedulefindstaffavail(token, starttime, endtime, serviceids, eventid, locationid, staffroleids, availablefor, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulefindstaffavail");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Date *starttime = 2013-10-20T19:20:30+01:00; // The start time of the range to look for slots. (default to null)
Date *endtime = 2013-10-20T19:20:30+01:00; // The end time of the range to look for slots. (default to null)
String *serviceids = serviceids_example; // CSV list of the service ids to filter by. (optional) (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event to filter by. (optional) (default to null)
UUID *locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the service to filter by. (optional) (default to null)
String *staffroleids = staffroleids_example; // CSV list of the staff member role ids to filter by. (optional) (default to null)
String *availablefor = availablefor_example; // Filter slots by a specific availability type. (optional) (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search available staff members slots by service, event, and/or date
[apiInstance schedulefindstaffavailWith:token
    starttime:starttime
    endtime:endtime
    serviceids:serviceids
    eventid:eventid
    locationid:locationid
    staffroleids:staffroleids
    availablefor:availablefor
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var starttime = 2013-10-20T19:20:30+01:00; // {Date} The start time of the range to look for slots.
var endtime = 2013-10-20T19:20:30+01:00; // {Date} The end time of the range to look for slots.
var opts = {
  'serviceids': serviceids_example, // {String} CSV list of the service ids to filter by.
  'eventid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the event to filter by.
  'locationid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the service to filter by.
  'staffroleids': staffroleids_example, // {String} CSV list of the staff member role ids to filter by.
  'availablefor': availablefor_example, // {String} Filter slots by a specific availability type.
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.schedulefindstaffavail(token, starttime, endtime, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class schedulefindstaffavailExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var starttime = 2013-10-20T19:20:30+01:00;  // Date | The start time of the range to look for slots. (default to null)
            var endtime = 2013-10-20T19:20:30+01:00;  // Date | The end time of the range to look for slots. (default to null)
            var serviceids = serviceids_example;  // String | CSV list of the service ids to filter by. (optional)  (default to null)
            var eventid = new UUID(); // UUID | The id of the event to filter by. (optional)  (default to null)
            var locationid = new UUID(); // UUID | The id of the service to filter by. (optional)  (default to null)
            var staffroleids = staffroleids_example;  // String | CSV list of the staff member role ids to filter by. (optional)  (default to null)
            var availablefor = availablefor_example;  // String | Filter slots by a specific availability type. (optional)  (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // Search available staff members slots by service, event, and/or date
                apiInstance.schedulefindstaffavail(token, starttime, endtime, serviceids, eventid, locationid, staffroleids, availablefor, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.schedulefindstaffavail: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$starttime = 2013-10-20T19:20:30+01:00; // Date | The start time of the range to look for slots.
$endtime = 2013-10-20T19:20:30+01:00; // Date | The end time of the range to look for slots.
$serviceids = serviceids_example; // String | CSV list of the service ids to filter by.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to filter by.
$locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to filter by.
$staffroleids = staffroleids_example; // String | CSV list of the staff member role ids to filter by.
$availablefor = availablefor_example; // String | Filter slots by a specific availability type.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->schedulefindstaffavail($token, $starttime, $endtime, $serviceids, $eventid, $locationid, $staffroleids, $availablefor, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->schedulefindstaffavail: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $starttime = 2013-10-20T19:20:30+01:00; # Date | The start time of the range to look for slots.
my $endtime = 2013-10-20T19:20:30+01:00; # Date | The end time of the range to look for slots.
my $serviceids = serviceids_example; # String | CSV list of the service ids to filter by.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event to filter by.
my $locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the service to filter by.
my $staffroleids = staffroleids_example; # String | CSV list of the staff member role ids to filter by.
my $availablefor = availablefor_example; # String | Filter slots by a specific availability type.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->schedulefindstaffavail(token => $token, starttime => $starttime, endtime => $endtime, serviceids => $serviceids, eventid => $eventid, locationid => $locationid, staffroleids => $staffroleids, availablefor => $availablefor, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->schedulefindstaffavail: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
starttime = 2013-10-20T19:20:30+01:00 # Date | The start time of the range to look for slots. (default to null)
endtime = 2013-10-20T19:20:30+01:00 # Date | The end time of the range to look for slots. (default to null)
serviceids = serviceids_example # String | CSV list of the service ids to filter by. (optional) (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event to filter by. (optional) (default to null)
locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the service to filter by. (optional) (default to null)
staffroleids = staffroleids_example # String | CSV list of the staff member role ids to filter by. (optional) (default to null)
availablefor = availablefor_example # String | Filter slots by a specific availability type. (optional) (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # Search available staff members slots by service, event, and/or date
    api_instance.schedulefindstaffavail(token, starttime, endtime, serviceids=serviceids, eventid=eventid, locationid=locationid, staffroleids=staffroleids, availablefor=availablefor, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->schedulefindstaffavail: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let starttime = 2013-10-20T19:20:30+01:00; // Date
    let endtime = 2013-10-20T19:20:30+01:00; // Date
    let serviceids = serviceids_example; // String
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let staffroleids = staffroleids_example; // String
    let availablefor = availablefor_example; // String
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.schedulefindstaffavail(token, starttime, endtime, serviceids, eventid, locationid, staffroleids, availablefor, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
serviceids
String
CSV list of the service ids to filter by.
eventid
UUID (uuid)
The id of the event to filter by.
starttime*
Date (date-time)
The start time of the range to look for slots.
Required
endtime*
Date (date-time)
The end time of the range to look for slots.
Required
locationid
UUID (uuid)
The id of the service to filter by.
staffroleids
String
CSV list of the staff member role ids to filter by.
availablefor
String
Filter slots by a specific availability type.
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


scheduleget

Search and view details of a specific schedule slot

Allows the user to view the details of schedule shifts for any user role that the user has permission to view.


/scheduleget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/scheduleget?token=&scheduleid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule.
        try {
            apiInstance.scheduleget(token, scheduleid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduleget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule.
        try {
            apiInstance.scheduleget(token, scheduleid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduleget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the schedule. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of a specific schedule slot
[apiInstance schedulegetWith:token
    scheduleid:scheduleid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the schedule.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.scheduleget(token, scheduleid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class schedulegetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var scheduleid = new UUID(); // UUID | The id of the schedule. (default to null)

            try
            {
                // Search and view details of a specific schedule slot
                apiInstance.scheduleget(token, scheduleid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.scheduleget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule.

try {
    $api_instance->scheduleget($token, $scheduleid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->scheduleget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the schedule.

eval { 
    $api_instance->scheduleget(token => $token, scheduleid => $scheduleid);
};
if ($@) {
    warn "Exception when calling DefaultApi->scheduleget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the schedule. (default to null)

try: 
    # Search and view details of a specific schedule slot
    api_instance.scheduleget(token, scheduleid)
except ApiException as e:
    print("Exception when calling DefaultApi->scheduleget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.scheduleget(token, scheduleid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
scheduleid*
UUID (uuid)
The id of the schedule.
Required

Responses


schedulegetmine

View details of a specific schedule block, for current user

Allows the user to view the details of their own schedule shifts.


/schedulegetmine

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/schedulegetmine?token=&scheduleid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule.
        try {
            apiInstance.schedulegetmine(token, scheduleid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulegetmine");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule.
        try {
            apiInstance.schedulegetmine(token, scheduleid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulegetmine");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the schedule. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a specific schedule block, for current user
[apiInstance schedulegetmineWith:token
    scheduleid:scheduleid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the schedule.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.schedulegetmine(token, scheduleid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class schedulegetmineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var scheduleid = new UUID(); // UUID | The id of the schedule. (default to null)

            try
            {
                // View details of a specific schedule block, for current user
                apiInstance.schedulegetmine(token, scheduleid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.schedulegetmine: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule.

try {
    $api_instance->schedulegetmine($token, $scheduleid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->schedulegetmine: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the schedule.

eval { 
    $api_instance->schedulegetmine(token => $token, scheduleid => $scheduleid);
};
if ($@) {
    warn "Exception when calling DefaultApi->schedulegetmine: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the schedule. (default to null)

try: 
    # View details of a specific schedule block, for current user
    api_instance.schedulegetmine(token, scheduleid)
except ApiException as e:
    print("Exception when calling DefaultApi->schedulegetmine: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let scheduleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.schedulegetmine(token, scheduleid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
scheduleid*
UUID (uuid)
The id of the schedule.
Required

Responses


schedulegetstaff

View a list of schedule information of a specified person

Allows the user to view the schedule shifts for user roles that the user has permission to access.


/schedulegetstaff

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/schedulegetstaff?token=&userid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to get info.
        try {
            apiInstance.schedulegetstaff(token, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulegetstaff");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to get info.
        try {
            apiInstance.schedulegetstaff(token, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulegetstaff");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to get info. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of schedule information of a specified person
[apiInstance schedulegetstaffWith:token
    userid:userid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to get info.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.schedulegetstaff(token, userid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class schedulegetstaffExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to get info. (default to null)

            try
            {
                // View a list of schedule information of a specified person
                apiInstance.schedulegetstaff(token, userid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.schedulegetstaff: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to get info.

try {
    $api_instance->schedulegetstaff($token, $userid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->schedulegetstaff: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to get info.

eval { 
    $api_instance->schedulegetstaff(token => $token, userid => $userid);
};
if ($@) {
    warn "Exception when calling DefaultApi->schedulegetstaff: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to get info. (default to null)

try: 
    # View a list of schedule information of a specified person
    api_instance.schedulegetstaff(token, userid)
except ApiException as e:
    print("Exception when calling DefaultApi->schedulegetstaff: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.schedulegetstaff(token, userid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to get info.
Required

Responses


schedulegetstaffmine

View current user's schedule information

Allows the user to view their own schedule.


/schedulegetstaffmine

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/schedulegetstaffmine?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.schedulegetstaffmine(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulegetstaffmine");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.schedulegetstaffmine(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulegetstaffmine");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View current user's schedule information
[apiInstance schedulegetstaffmineWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.schedulegetstaffmine(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class schedulegetstaffmineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View current user's schedule information
                apiInstance.schedulegetstaffmine(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.schedulegetstaffmine: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->schedulegetstaffmine($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->schedulegetstaffmine: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->schedulegetstaffmine(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->schedulegetstaffmine: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View current user's schedule information
    api_instance.schedulegetstaffmine(token)
except ApiException as e:
    print("Exception when calling DefaultApi->schedulegetstaffmine: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.schedulegetstaffmine(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


scheduleintegrationdeleteitem

Delete a schedule item looking up by a third party ID


/scheduleintegrationdeleteitem

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/scheduleintegrationdeleteitem?token=&thirdpartyid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String thirdpartyid = thirdpartyid_example; // String | The third party id to search the schedule block / appointment.
        try {
            apiInstance.scheduleintegrationdeleteitem(token, thirdpartyid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduleintegrationdeleteitem");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String thirdpartyid = thirdpartyid_example; // String | The third party id to search the schedule block / appointment.
        try {
            apiInstance.scheduleintegrationdeleteitem(token, thirdpartyid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduleintegrationdeleteitem");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *thirdpartyid = thirdpartyid_example; // The third party id to search the schedule block / appointment. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a schedule item looking up by a third party ID
[apiInstance scheduleintegrationdeleteitemWith:token
    thirdpartyid:thirdpartyid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var thirdpartyid = thirdpartyid_example; // {String} The third party id to search the schedule block / appointment.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.scheduleintegrationdeleteitem(token, thirdpartyid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class scheduleintegrationdeleteitemExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var thirdpartyid = thirdpartyid_example;  // String | The third party id to search the schedule block / appointment. (default to null)

            try
            {
                // Delete a schedule item looking up by a third party ID
                apiInstance.scheduleintegrationdeleteitem(token, thirdpartyid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.scheduleintegrationdeleteitem: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$thirdpartyid = thirdpartyid_example; // String | The third party id to search the schedule block / appointment.

try {
    $api_instance->scheduleintegrationdeleteitem($token, $thirdpartyid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->scheduleintegrationdeleteitem: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $thirdpartyid = thirdpartyid_example; # String | The third party id to search the schedule block / appointment.

eval { 
    $api_instance->scheduleintegrationdeleteitem(token => $token, thirdpartyid => $thirdpartyid);
};
if ($@) {
    warn "Exception when calling DefaultApi->scheduleintegrationdeleteitem: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
thirdpartyid = thirdpartyid_example # String | The third party id to search the schedule block / appointment. (default to null)

try: 
    # Delete a schedule item looking up by a third party ID
    api_instance.scheduleintegrationdeleteitem(token, thirdpartyid)
except ApiException as e:
    print("Exception when calling DefaultApi->scheduleintegrationdeleteitem: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let thirdpartyid = thirdpartyid_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.scheduleintegrationdeleteitem(token, thirdpartyid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
thirdpartyid*
String
The third party id to search the schedule block / appointment.
Required

Responses


scheduleintegrationdeleteitemsbymasterid

Delete multiple schedule items looking up by a third party master ID


/scheduleintegrationdeleteitemsbymasterid

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/scheduleintegrationdeleteitemsbymasterid?token=&thirdpartymasterid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String thirdpartymasterid = thirdpartymasterid_example; // String | The third party master id to search the schedule items.
        try {
            apiInstance.scheduleintegrationdeleteitemsbymasterid(token, thirdpartymasterid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduleintegrationdeleteitemsbymasterid");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String thirdpartymasterid = thirdpartymasterid_example; // String | The third party master id to search the schedule items.
        try {
            apiInstance.scheduleintegrationdeleteitemsbymasterid(token, thirdpartymasterid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduleintegrationdeleteitemsbymasterid");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *thirdpartymasterid = thirdpartymasterid_example; // The third party master id to search the schedule items. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete multiple schedule items looking up by a third party master ID
[apiInstance scheduleintegrationdeleteitemsbymasteridWith:token
    thirdpartymasterid:thirdpartymasterid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var thirdpartymasterid = thirdpartymasterid_example; // {String} The third party master id to search the schedule items.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.scheduleintegrationdeleteitemsbymasterid(token, thirdpartymasterid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class scheduleintegrationdeleteitemsbymasteridExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var thirdpartymasterid = thirdpartymasterid_example;  // String | The third party master id to search the schedule items. (default to null)

            try
            {
                // Delete multiple schedule items looking up by a third party master ID
                apiInstance.scheduleintegrationdeleteitemsbymasterid(token, thirdpartymasterid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.scheduleintegrationdeleteitemsbymasterid: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$thirdpartymasterid = thirdpartymasterid_example; // String | The third party master id to search the schedule items.

try {
    $api_instance->scheduleintegrationdeleteitemsbymasterid($token, $thirdpartymasterid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->scheduleintegrationdeleteitemsbymasterid: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $thirdpartymasterid = thirdpartymasterid_example; # String | The third party master id to search the schedule items.

eval { 
    $api_instance->scheduleintegrationdeleteitemsbymasterid(token => $token, thirdpartymasterid => $thirdpartymasterid);
};
if ($@) {
    warn "Exception when calling DefaultApi->scheduleintegrationdeleteitemsbymasterid: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
thirdpartymasterid = thirdpartymasterid_example # String | The third party master id to search the schedule items. (default to null)

try: 
    # Delete multiple schedule items looking up by a third party master ID
    api_instance.scheduleintegrationdeleteitemsbymasterid(token, thirdpartymasterid)
except ApiException as e:
    print("Exception when calling DefaultApi->scheduleintegrationdeleteitemsbymasterid: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let thirdpartymasterid = thirdpartymasterid_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.scheduleintegrationdeleteitemsbymasterid(token, thirdpartymasterid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
thirdpartymasterid*
String
The third party master id to search the schedule items.
Required

Responses


scheduleintegrationgetitem

Get a schedule item looking up by a third party ID


/scheduleintegrationgetitem

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/scheduleintegrationgetitem?token=&thirdpartyid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String thirdpartyid = thirdpartyid_example; // String | The third party id to search for the schedule item.
        try {
            apiInstance.scheduleintegrationgetitem(token, thirdpartyid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduleintegrationgetitem");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String thirdpartyid = thirdpartyid_example; // String | The third party id to search for the schedule item.
        try {
            apiInstance.scheduleintegrationgetitem(token, thirdpartyid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduleintegrationgetitem");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *thirdpartyid = thirdpartyid_example; // The third party id to search for the schedule item. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get a schedule item looking up by a third party ID
[apiInstance scheduleintegrationgetitemWith:token
    thirdpartyid:thirdpartyid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var thirdpartyid = thirdpartyid_example; // {String} The third party id to search for the schedule item.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.scheduleintegrationgetitem(token, thirdpartyid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class scheduleintegrationgetitemExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var thirdpartyid = thirdpartyid_example;  // String | The third party id to search for the schedule item. (default to null)

            try
            {
                // Get a schedule item looking up by a third party ID
                apiInstance.scheduleintegrationgetitem(token, thirdpartyid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.scheduleintegrationgetitem: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$thirdpartyid = thirdpartyid_example; // String | The third party id to search for the schedule item.

try {
    $api_instance->scheduleintegrationgetitem($token, $thirdpartyid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->scheduleintegrationgetitem: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $thirdpartyid = thirdpartyid_example; # String | The third party id to search for the schedule item.

eval { 
    $api_instance->scheduleintegrationgetitem(token => $token, thirdpartyid => $thirdpartyid);
};
if ($@) {
    warn "Exception when calling DefaultApi->scheduleintegrationgetitem: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
thirdpartyid = thirdpartyid_example # String | The third party id to search for the schedule item. (default to null)

try: 
    # Get a schedule item looking up by a third party ID
    api_instance.scheduleintegrationgetitem(token, thirdpartyid)
except ApiException as e:
    print("Exception when calling DefaultApi->scheduleintegrationgetitem: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let thirdpartyid = thirdpartyid_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.scheduleintegrationgetitem(token, thirdpartyid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
thirdpartyid*
String
The third party id to search for the schedule item.
Required

Responses


scheduleintegrationsaveitem

Save a schedule item looking up by a third party ID


/scheduleintegrationsaveitem

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/scheduleintegrationsaveitem"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.scheduleintegrationsaveitem(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduleintegrationsaveitem");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.scheduleintegrationsaveitem(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduleintegrationsaveitem");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Save a schedule item looking up by a third party ID
[apiInstance scheduleintegrationsaveitemWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.scheduleintegrationsaveitem(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class scheduleintegrationsaveitemExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Save a schedule item looking up by a third party ID
                apiInstance.scheduleintegrationsaveitem(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.scheduleintegrationsaveitem: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->scheduleintegrationsaveitem($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->scheduleintegrationsaveitem: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->scheduleintegrationsaveitem(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->scheduleintegrationsaveitem: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Save a schedule item looking up by a third party ID
    api_instance.scheduleintegrationsaveitem(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->scheduleintegrationsaveitem: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.scheduleintegrationsaveitem(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


scheduleintegrationsetid

Set a 3rd party ID on a specific schedule item


/scheduleintegrationsetid

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/scheduleintegrationsetid?token=&id=&thirdpartyid=&thirdpartymasterid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule block / appointment.
        String thirdpartyid = thirdpartyid_example; // String | The 3rd party ID to set.
        String thirdpartymasterid = thirdpartymasterid_example; // String | The 3rd party master ID to set (useful to handle recurring items).
        try {
            apiInstance.scheduleintegrationsetid(token, id, thirdpartyid, thirdpartymasterid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduleintegrationsetid");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule block / appointment.
        String thirdpartyid = thirdpartyid_example; // String | The 3rd party ID to set.
        String thirdpartymasterid = thirdpartymasterid_example; // String | The 3rd party master ID to set (useful to handle recurring items).
        try {
            apiInstance.scheduleintegrationsetid(token, id, thirdpartyid, thirdpartymasterid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#scheduleintegrationsetid");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the schedule block / appointment. (default to null)
String *thirdpartyid = thirdpartyid_example; // The 3rd party ID to set. (default to null)
String *thirdpartymasterid = thirdpartymasterid_example; // The 3rd party master ID to set (useful to handle recurring items). (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Set a 3rd party ID on a specific schedule item
[apiInstance scheduleintegrationsetidWith:token
    id:id
    thirdpartyid:thirdpartyid
    thirdpartymasterid:thirdpartymasterid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the schedule block / appointment.
var thirdpartyid = thirdpartyid_example; // {String} The 3rd party ID to set.
var opts = {
  'thirdpartymasterid': thirdpartymasterid_example // {String} The 3rd party master ID to set (useful to handle recurring items).
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.scheduleintegrationsetid(token, id, thirdpartyid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class scheduleintegrationsetidExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the schedule block / appointment. (default to null)
            var thirdpartyid = thirdpartyid_example;  // String | The 3rd party ID to set. (default to null)
            var thirdpartymasterid = thirdpartymasterid_example;  // String | The 3rd party master ID to set (useful to handle recurring items). (optional)  (default to null)

            try
            {
                // Set a 3rd party ID on a specific schedule item
                apiInstance.scheduleintegrationsetid(token, id, thirdpartyid, thirdpartymasterid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.scheduleintegrationsetid: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the schedule block / appointment.
$thirdpartyid = thirdpartyid_example; // String | The 3rd party ID to set.
$thirdpartymasterid = thirdpartymasterid_example; // String | The 3rd party master ID to set (useful to handle recurring items).

try {
    $api_instance->scheduleintegrationsetid($token, $id, $thirdpartyid, $thirdpartymasterid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->scheduleintegrationsetid: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the schedule block / appointment.
my $thirdpartyid = thirdpartyid_example; # String | The 3rd party ID to set.
my $thirdpartymasterid = thirdpartymasterid_example; # String | The 3rd party master ID to set (useful to handle recurring items).

eval { 
    $api_instance->scheduleintegrationsetid(token => $token, id => $id, thirdpartyid => $thirdpartyid, thirdpartymasterid => $thirdpartymasterid);
};
if ($@) {
    warn "Exception when calling DefaultApi->scheduleintegrationsetid: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the schedule block / appointment. (default to null)
thirdpartyid = thirdpartyid_example # String | The 3rd party ID to set. (default to null)
thirdpartymasterid = thirdpartymasterid_example # String | The 3rd party master ID to set (useful to handle recurring items). (optional) (default to null)

try: 
    # Set a 3rd party ID on a specific schedule item
    api_instance.scheduleintegrationsetid(token, id, thirdpartyid, thirdpartymasterid=thirdpartymasterid)
except ApiException as e:
    print("Exception when calling DefaultApi->scheduleintegrationsetid: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let thirdpartyid = thirdpartyid_example; // String
    let thirdpartymasterid = thirdpartymasterid_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.scheduleintegrationsetid(token, id, thirdpartyid, thirdpartymasterid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the schedule block / appointment.
Required
thirdpartyid*
String
The 3rd party ID to set.
Required
thirdpartymasterid
String
The 3rd party master ID to set (useful to handle recurring items).

Responses


schedulemyofftimes

View current user's schedule exceptions

Allows the user to view their own schedule exceptions.


/schedulemyofftimes

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/schedulemyofftimes?token=&includedeleted=&onlyupcoming=&modifiedafter="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Boolean includedeleted = true; // Boolean | If true the deleted offtimes are also returned.
        Boolean onlyupcoming = true; // Boolean | If true then only upcoming offtimes are returned.
        Date modifiedafter = 2013-10-20T19:20:30+01:00; // Date | If specified, only offtimes modified after the specified date will be returned.
        try {
            apiInstance.schedulemyofftimes(token, includedeleted, onlyupcoming, modifiedafter);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulemyofftimes");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Boolean includedeleted = true; // Boolean | If true the deleted offtimes are also returned.
        Boolean onlyupcoming = true; // Boolean | If true then only upcoming offtimes are returned.
        Date modifiedafter = 2013-10-20T19:20:30+01:00; // Date | If specified, only offtimes modified after the specified date will be returned.
        try {
            apiInstance.schedulemyofftimes(token, includedeleted, onlyupcoming, modifiedafter);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulemyofftimes");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Boolean *includedeleted = true; // If true the deleted offtimes are also returned. (optional) (default to null)
Boolean *onlyupcoming = true; // If true then only upcoming offtimes are returned. (optional) (default to null)
Date *modifiedafter = 2013-10-20T19:20:30+01:00; // If specified, only offtimes modified after the specified date will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View current user's schedule exceptions
[apiInstance schedulemyofftimesWith:token
    includedeleted:includedeleted
    onlyupcoming:onlyupcoming
    modifiedafter:modifiedafter
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'includedeleted': true, // {Boolean} If true the deleted offtimes are also returned.
  'onlyupcoming': true, // {Boolean} If true then only upcoming offtimes are returned.
  'modifiedafter': 2013-10-20T19:20:30+01:00 // {Date} If specified, only offtimes modified after the specified date will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.schedulemyofftimes(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class schedulemyofftimesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var includedeleted = true;  // Boolean | If true the deleted offtimes are also returned. (optional)  (default to null)
            var onlyupcoming = true;  // Boolean | If true then only upcoming offtimes are returned. (optional)  (default to null)
            var modifiedafter = 2013-10-20T19:20:30+01:00;  // Date | If specified, only offtimes modified after the specified date will be returned. (optional)  (default to null)

            try
            {
                // View current user's schedule exceptions
                apiInstance.schedulemyofftimes(token, includedeleted, onlyupcoming, modifiedafter);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.schedulemyofftimes: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$includedeleted = true; // Boolean | If true the deleted offtimes are also returned.
$onlyupcoming = true; // Boolean | If true then only upcoming offtimes are returned.
$modifiedafter = 2013-10-20T19:20:30+01:00; // Date | If specified, only offtimes modified after the specified date will be returned.

try {
    $api_instance->schedulemyofftimes($token, $includedeleted, $onlyupcoming, $modifiedafter);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->schedulemyofftimes: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $includedeleted = true; # Boolean | If true the deleted offtimes are also returned.
my $onlyupcoming = true; # Boolean | If true then only upcoming offtimes are returned.
my $modifiedafter = 2013-10-20T19:20:30+01:00; # Date | If specified, only offtimes modified after the specified date will be returned.

eval { 
    $api_instance->schedulemyofftimes(token => $token, includedeleted => $includedeleted, onlyupcoming => $onlyupcoming, modifiedafter => $modifiedafter);
};
if ($@) {
    warn "Exception when calling DefaultApi->schedulemyofftimes: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
includedeleted = true # Boolean | If true the deleted offtimes are also returned. (optional) (default to null)
onlyupcoming = true # Boolean | If true then only upcoming offtimes are returned. (optional) (default to null)
modifiedafter = 2013-10-20T19:20:30+01:00 # Date | If specified, only offtimes modified after the specified date will be returned. (optional) (default to null)

try: 
    # View current user's schedule exceptions
    api_instance.schedulemyofftimes(token, includedeleted=includedeleted, onlyupcoming=onlyupcoming, modifiedafter=modifiedafter)
except ApiException as e:
    print("Exception when calling DefaultApi->schedulemyofftimes: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let includedeleted = true; // Boolean
    let onlyupcoming = true; // Boolean
    let modifiedafter = 2013-10-20T19:20:30+01:00; // Date

    let mut context = DefaultApi::Context::default();
    let result = client.schedulemyofftimes(token, includedeleted, onlyupcoming, modifiedafter, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
includedeleted
Boolean
If true the deleted offtimes are also returned.
onlyupcoming
Boolean
If true then only upcoming offtimes are returned.
modifiedafter
Date (date-time)
If specified, only offtimes modified after the specified date will be returned.

Responses


schedulesave

Create or edit a schedule slot

Allows the user to create or edit a schedule slot of another user.


/schedulesave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/schedulesave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.schedulesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulesave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.schedulesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulesave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a schedule slot
[apiInstance schedulesaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.schedulesave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class schedulesaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a schedule slot
                apiInstance.schedulesave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.schedulesave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->schedulesave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->schedulesave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->schedulesave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->schedulesave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a schedule slot
    api_instance.schedulesave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->schedulesave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.schedulesave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


schedulesavemine

Create or edit a block in current user's schedule

Allows the user to create or edit a schedule shift in their own availability.


/schedulesavemine

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/schedulesavemine"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.schedulesavemine(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulesavemine");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.schedulesavemine(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schedulesavemine");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a block in current user's schedule
[apiInstance schedulesavemineWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.schedulesavemine(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class schedulesavemineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a block in current user's schedule
                apiInstance.schedulesavemine(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.schedulesavemine: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->schedulesavemine($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->schedulesavemine: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->schedulesavemine(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->schedulesavemine: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a block in current user's schedule
    api_instance.schedulesavemine(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->schedulesavemine: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.schedulesavemine(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses



searchgetentities

Get the information of the entities that can be searched


/searchgetentities

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/searchgetentities?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.searchgetentities(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#searchgetentities");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.searchgetentities(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#searchgetentities");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get the information of the entities that can be searched
[apiInstance searchgetentitiesWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.searchgetentities(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class searchgetentitiesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Get the information of the entities that can be searched
                apiInstance.searchgetentities(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.searchgetentities: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->searchgetentities($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->searchgetentities: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->searchgetentities(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->searchgetentities: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Get the information of the entities that can be searched
    api_instance.searchgetentities(token)
except ApiException as e:
    print("Exception when calling DefaultApi->searchgetentities: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.searchgetentities(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


securityassesspermission

Returns the list of users for a specific permission


/securityassesspermission

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/securityassesspermission?token=&commandname="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String commandname = commandname_example; // String | Name of the action or command to get the roles.
        try {
            apiInstance.securityassesspermission(token, commandname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#securityassesspermission");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String commandname = commandname_example; // String | Name of the action or command to get the roles.
        try {
            apiInstance.securityassesspermission(token, commandname);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#securityassesspermission");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *commandname = commandname_example; // Name of the action or command to get the roles. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Returns the list of users for a specific permission
[apiInstance securityassesspermissionWith:token
    commandname:commandname
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var commandname = commandname_example; // {String} Name of the action or command to get the roles.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.securityassesspermission(token, commandname, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class securityassesspermissionExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var commandname = commandname_example;  // String | Name of the action or command to get the roles. (default to null)

            try
            {
                // Returns the list of users for a specific permission
                apiInstance.securityassesspermission(token, commandname);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.securityassesspermission: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$commandname = commandname_example; // String | Name of the action or command to get the roles.

try {
    $api_instance->securityassesspermission($token, $commandname);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->securityassesspermission: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $commandname = commandname_example; # String | Name of the action or command to get the roles.

eval { 
    $api_instance->securityassesspermission(token => $token, commandname => $commandname);
};
if ($@) {
    warn "Exception when calling DefaultApi->securityassesspermission: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
commandname = commandname_example # String | Name of the action or command to get the roles. (default to null)

try: 
    # Returns the list of users for a specific permission
    api_instance.securityassesspermission(token, commandname)
except ApiException as e:
    print("Exception when calling DefaultApi->securityassesspermission: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let commandname = commandname_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.securityassesspermission(token, commandname, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
commandname*
String
Name of the action or command to get the roles.
Required

Responses


securityassessrole

Returns the list of permissions for a specific role


/securityassessrole

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/securityassessrole?token=&roleid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Role ID to list the effective permissions.
        try {
            apiInstance.securityassessrole(token, roleid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#securityassessrole");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Role ID to list the effective permissions.
        try {
            apiInstance.securityassessrole(token, roleid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#securityassessrole");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Role ID to list the effective permissions. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Returns the list of permissions for a specific role
[apiInstance securityassessroleWith:token
    roleid:roleid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} Role ID to list the effective permissions.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.securityassessrole(token, roleid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class securityassessroleExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var roleid = new UUID(); // UUID | Role ID to list the effective permissions. (default to null)

            try
            {
                // Returns the list of permissions for a specific role
                apiInstance.securityassessrole(token, roleid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.securityassessrole: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Role ID to list the effective permissions.

try {
    $api_instance->securityassessrole($token, $roleid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->securityassessrole: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Role ID to list the effective permissions.

eval { 
    $api_instance->securityassessrole(token => $token, roleid => $roleid);
};
if ($@) {
    warn "Exception when calling DefaultApi->securityassessrole: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Role ID to list the effective permissions. (default to null)

try: 
    # Returns the list of permissions for a specific role
    api_instance.securityassessrole(token, roleid)
except ApiException as e:
    print("Exception when calling DefaultApi->securityassessrole: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.securityassessrole(token, roleid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
roleid*
UUID (uuid)
Role ID to list the effective permissions.
Required

Responses


securityassessscope

Returns the list of users for a specific user


/securityassessscope

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/securityassessscope?token=&locationid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Location ID to list the users with that scope.
        try {
            apiInstance.securityassessscope(token, locationid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#securityassessscope");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Location ID to list the users with that scope.
        try {
            apiInstance.securityassessscope(token, locationid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#securityassessscope");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Location ID to list the users with that scope. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Returns the list of users for a specific user
[apiInstance securityassessscopeWith:token
    locationid:locationid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'locationid': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} Location ID to list the users with that scope.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.securityassessscope(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class securityassessscopeExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var locationid = new UUID(); // UUID | Location ID to list the users with that scope. (optional)  (default to null)

            try
            {
                // Returns the list of users for a specific user
                apiInstance.securityassessscope(token, locationid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.securityassessscope: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Location ID to list the users with that scope.

try {
    $api_instance->securityassessscope($token, $locationid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->securityassessscope: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Location ID to list the users with that scope.

eval { 
    $api_instance->securityassessscope(token => $token, locationid => $locationid);
};
if ($@) {
    warn "Exception when calling DefaultApi->securityassessscope: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Location ID to list the users with that scope. (optional) (default to null)

try: 
    # Returns the list of users for a specific user
    api_instance.securityassessscope(token, locationid=locationid)
except ApiException as e:
    print("Exception when calling DefaultApi->securityassessscope: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.securityassessscope(token, locationid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
locationid
UUID (uuid)
Location ID to list the users with that scope.

Responses


securityassessuser

Returns the list of permissions for a specific user


/securityassessuser

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/securityassessuser?token=&userid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | User ID to list the effective permissions.
        try {
            apiInstance.securityassessuser(token, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#securityassessuser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | User ID to list the effective permissions.
        try {
            apiInstance.securityassessuser(token, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#securityassessuser");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // User ID to list the effective permissions. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Returns the list of permissions for a specific user
[apiInstance securityassessuserWith:token
    userid:userid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} User ID to list the effective permissions.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.securityassessuser(token, userid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class securityassessuserExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | User ID to list the effective permissions. (default to null)

            try
            {
                // Returns the list of permissions for a specific user
                apiInstance.securityassessuser(token, userid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.securityassessuser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | User ID to list the effective permissions.

try {
    $api_instance->securityassessuser($token, $userid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->securityassessuser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | User ID to list the effective permissions.

eval { 
    $api_instance->securityassessuser(token => $token, userid => $userid);
};
if ($@) {
    warn "Exception when calling DefaultApi->securityassessuser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | User ID to list the effective permissions. (default to null)

try: 
    # Returns the list of permissions for a specific user
    api_instance.securityassessuser(token, userid)
except ApiException as e:
    print("Exception when calling DefaultApi->securityassessuser: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.securityassessuser(token, userid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
User ID to list the effective permissions.
Required

Responses


seminardelete

Delete an event

Allows the user to delete an existing event.


/seminardelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/seminardelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the seminar to delete.
        try {
            apiInstance.seminardelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#seminardelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the seminar to delete.
        try {
            apiInstance.seminardelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#seminardelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the seminar to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete an event
[apiInstance seminardeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the seminar to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.seminardelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class seminardeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the seminar to delete. (default to null)

            try
            {
                // Delete an event
                apiInstance.seminardelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.seminardelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the seminar to delete.

try {
    $api_instance->seminardelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->seminardelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the seminar to delete.

eval { 
    $api_instance->seminardelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->seminardelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the seminar to delete. (default to null)

try: 
    # Delete an event
    api_instance.seminardelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->seminardelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.seminardelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the seminar to delete.
Required

Responses


seminarget

Search and view details of a event

Allows the user to view a event and its details.


/seminarget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/seminarget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the seminar to get.
        try {
            apiInstance.seminarget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#seminarget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the seminar to get.
        try {
            apiInstance.seminarget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#seminarget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the seminar to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of a event
[apiInstance seminargetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the seminar to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.seminarget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class seminargetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the seminar to get. (default to null)

            try
            {
                // Search and view details of a event
                apiInstance.seminarget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.seminarget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the seminar to get.

try {
    $api_instance->seminarget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->seminarget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the seminar to get.

eval { 
    $api_instance->seminarget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->seminarget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the seminar to get. (default to null)

try: 
    # Search and view details of a event
    api_instance.seminarget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->seminarget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.seminarget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the seminar to get.
Required

Responses


seminarlist

View a list of events

Allows the user to view the full list of events in the past, present, and future.


/seminarlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/seminarlist?token=&from=&count=&summaryonly=&termid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String from = from_example; // String | The first record to return.
        String count = count_example; // String | The max number of records to return.
        Boolean summaryonly = true; // Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
        UUID termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the term to list the events. Null to list all events.
        try {
            apiInstance.seminarlist(token, from, count, summaryonly, termid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#seminarlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String from = from_example; // String | The first record to return.
        String count = count_example; // String | The max number of records to return.
        Boolean summaryonly = true; // Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
        UUID termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the term to list the events. Null to list all events.
        try {
            apiInstance.seminarlist(token, from, count, summaryonly, termid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#seminarlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *from = from_example; // The first record to return. (default to null)
String *count = count_example; // The max number of records to return. (default to null)
Boolean *summaryonly = true; // True to return only the event information and not the associated schedule, dept, etc. Defaults to false. (optional) (default to null)
UUID *termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Id of the term to list the events. Null to list all events. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of events
[apiInstance seminarlistWith:token
    from:from
    count:count
    summaryonly:summaryonly
    termid:termid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = from_example; // {String} The first record to return.
var count = count_example; // {String} The max number of records to return.
var opts = {
  'summaryonly': true, // {Boolean} True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
  'termid': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} Id of the term to list the events. Null to list all events.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.seminarlist(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class seminarlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = from_example;  // String | The first record to return. (default to null)
            var count = count_example;  // String | The max number of records to return. (default to null)
            var summaryonly = true;  // Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false. (optional)  (default to null)
            var termid = new UUID(); // UUID | Id of the term to list the events. Null to list all events. (optional)  (default to null)

            try
            {
                // View a list of events
                apiInstance.seminarlist(token, from, count, summaryonly, termid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.seminarlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = from_example; // String | The first record to return.
$count = count_example; // String | The max number of records to return.
$summaryonly = true; // Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
$termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Id of the term to list the events. Null to list all events.

try {
    $api_instance->seminarlist($token, $from, $count, $summaryonly, $termid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->seminarlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = from_example; # String | The first record to return.
my $count = count_example; # String | The max number of records to return.
my $summaryonly = true; # Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
my $termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Id of the term to list the events. Null to list all events.

eval { 
    $api_instance->seminarlist(token => $token, from => $from, count => $count, summaryonly => $summaryonly, termid => $termid);
};
if ($@) {
    warn "Exception when calling DefaultApi->seminarlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = from_example # String | The first record to return. (default to null)
count = count_example # String | The max number of records to return. (default to null)
summaryonly = true # Boolean | True to return only the event information and not the associated schedule, dept, etc. Defaults to false. (optional) (default to null)
termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Id of the term to list the events. Null to list all events. (optional) (default to null)

try: 
    # View a list of events
    api_instance.seminarlist(token, from, count, summaryonly=summaryonly, termid=termid)
except ApiException as e:
    print("Exception when calling DefaultApi->seminarlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = from_example; // String
    let count = count_example; // String
    let summaryonly = true; // Boolean
    let termid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.seminarlist(token, from, count, summaryonly, termid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
String
The first record to return.
Required
count*
String
The max number of records to return.
Required
summaryonly
Boolean
True to return only the event information and not the associated schedule, dept, etc. Defaults to false.
termid
UUID (uuid)
Id of the term to list the events. Null to list all events.

Responses


seminarsave

Create or edit a event

Allows the user to create or edit a event.


/seminarsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/seminarsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.seminarsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#seminarsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.seminarsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#seminarsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a event
[apiInstance seminarsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.seminarsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class seminarsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a event
                apiInstance.seminarsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.seminarsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->seminarsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->seminarsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->seminarsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->seminarsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a event
    api_instance.seminarsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->seminarsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.seminarsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


serviceassignmentaddservice

Enable a service in a specific location

Allows the user to enable a service in a location to which they are scoped.


/serviceassignmentaddservice

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/serviceassignmentaddservice?token=&serviceid=&locationid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to add.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location.
        try {
            apiInstance.serviceassignmentaddservice(token, serviceid, locationid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#serviceassignmentaddservice");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to add.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location.
        try {
            apiInstance.serviceassignmentaddservice(token, serviceid, locationid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#serviceassignmentaddservice");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the service to add. (default to null)
UUID *locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Enable a service in a specific location
[apiInstance serviceassignmentaddserviceWith:token
    serviceid:serviceid
    locationid:locationid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the service to add.
var locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.serviceassignmentaddservice(token, serviceid, locationid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class serviceassignmentaddserviceExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var serviceid = new UUID(); // UUID | The id of the service to add. (default to null)
            var locationid = new UUID(); // UUID | The id of the location. (default to null)

            try
            {
                // Enable a service in a specific location
                apiInstance.serviceassignmentaddservice(token, serviceid, locationid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.serviceassignmentaddservice: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to add.
$locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location.

try {
    $api_instance->serviceassignmentaddservice($token, $serviceid, $locationid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->serviceassignmentaddservice: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the service to add.
my $locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location.

eval { 
    $api_instance->serviceassignmentaddservice(token => $token, serviceid => $serviceid, locationid => $locationid);
};
if ($@) {
    warn "Exception when calling DefaultApi->serviceassignmentaddservice: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the service to add. (default to null)
locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location. (default to null)

try: 
    # Enable a service in a specific location
    api_instance.serviceassignmentaddservice(token, serviceid, locationid)
except ApiException as e:
    print("Exception when calling DefaultApi->serviceassignmentaddservice: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.serviceassignmentaddservice(token, serviceid, locationid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
serviceid*
UUID (uuid)
The id of the service to add.
Required
locationid*
UUID (uuid)
The id of the location.
Required

Responses


serviceassignmentgetlocation

View a list of services enabled for a specific location

Allows the user to view a list of services available in a location to which they are scoped.


/serviceassignmentgetlocation

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/serviceassignmentgetlocation?token=&locationid=&includegloballyavailable=&namefilter=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to get.
        Boolean includegloballyavailable = true; // Boolean | Specifies whether the services available globally must be returned or not.
        Boolean namefilter = true; // Boolean | Filters the name of the services to return.
        Integer count = 56; // Integer | The max number of services to return.
        try {
            apiInstance.serviceassignmentgetlocation(token, locationid, includegloballyavailable, namefilter, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#serviceassignmentgetlocation");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to get.
        Boolean includegloballyavailable = true; // Boolean | Specifies whether the services available globally must be returned or not.
        Boolean namefilter = true; // Boolean | Filters the name of the services to return.
        Integer count = 56; // Integer | The max number of services to return.
        try {
            apiInstance.serviceassignmentgetlocation(token, locationid, includegloballyavailable, namefilter, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#serviceassignmentgetlocation");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location to get. (default to null)
Boolean *includegloballyavailable = true; // Specifies whether the services available globally must be returned or not. (optional) (default to null)
Boolean *namefilter = true; // Filters the name of the services to return. (optional) (default to null)
Integer *count = 56; // The max number of services to return. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of services enabled for a specific location
[apiInstance serviceassignmentgetlocationWith:token
    locationid:locationid
    includegloballyavailable:includegloballyavailable
    namefilter:namefilter
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location to get.
var opts = {
  'includegloballyavailable': true, // {Boolean} Specifies whether the services available globally must be returned or not.
  'namefilter': true, // {Boolean} Filters the name of the services to return.
  'count': 56 // {Integer} The max number of services to return.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.serviceassignmentgetlocation(token, locationid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class serviceassignmentgetlocationExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var locationid = new UUID(); // UUID | The id of the location to get. (default to null)
            var includegloballyavailable = true;  // Boolean | Specifies whether the services available globally must be returned or not. (optional)  (default to null)
            var namefilter = true;  // Boolean | Filters the name of the services to return. (optional)  (default to null)
            var count = 56;  // Integer | The max number of services to return. (optional)  (default to null)

            try
            {
                // View a list of services enabled for a specific location
                apiInstance.serviceassignmentgetlocation(token, locationid, includegloballyavailable, namefilter, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.serviceassignmentgetlocation: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to get.
$includegloballyavailable = true; // Boolean | Specifies whether the services available globally must be returned or not.
$namefilter = true; // Boolean | Filters the name of the services to return.
$count = 56; // Integer | The max number of services to return.

try {
    $api_instance->serviceassignmentgetlocation($token, $locationid, $includegloballyavailable, $namefilter, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->serviceassignmentgetlocation: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location to get.
my $includegloballyavailable = true; # Boolean | Specifies whether the services available globally must be returned or not.
my $namefilter = true; # Boolean | Filters the name of the services to return.
my $count = 56; # Integer | The max number of services to return.

eval { 
    $api_instance->serviceassignmentgetlocation(token => $token, locationid => $locationid, includegloballyavailable => $includegloballyavailable, namefilter => $namefilter, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->serviceassignmentgetlocation: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location to get. (default to null)
includegloballyavailable = true # Boolean | Specifies whether the services available globally must be returned or not. (optional) (default to null)
namefilter = true # Boolean | Filters the name of the services to return. (optional) (default to null)
count = 56 # Integer | The max number of services to return. (optional) (default to null)

try: 
    # View a list of services enabled for a specific location
    api_instance.serviceassignmentgetlocation(token, locationid, includegloballyavailable=includegloballyavailable, namefilter=namefilter, count=count)
except ApiException as e:
    print("Exception when calling DefaultApi->serviceassignmentgetlocation: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let includegloballyavailable = true; // Boolean
    let namefilter = true; // Boolean
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.serviceassignmentgetlocation(token, locationid, includegloballyavailable, namefilter, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
locationid*
UUID (uuid)
The id of the location to get.
Required
includegloballyavailable
Boolean
Specifies whether the services available globally must be returned or not.
namefilter
Boolean
Filters the name of the services to return.
count
Integer (int32)
The max number of services to return.

Responses


serviceassignmentgetservice

View a list of locations where a service is available

Allows the user to view a list of locations in which a service is available.


/serviceassignmentgetservice

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/serviceassignmentgetservice?token=&serviceid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to get its locations.
        try {
            apiInstance.serviceassignmentgetservice(token, serviceid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#serviceassignmentgetservice");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to get its locations.
        try {
            apiInstance.serviceassignmentgetservice(token, serviceid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#serviceassignmentgetservice");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the service to get its locations. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of locations where a service is available
[apiInstance serviceassignmentgetserviceWith:token
    serviceid:serviceid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the service to get its locations.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.serviceassignmentgetservice(token, serviceid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class serviceassignmentgetserviceExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var serviceid = new UUID(); // UUID | The id of the service to get its locations. (default to null)

            try
            {
                // View a list of locations where a service is available
                apiInstance.serviceassignmentgetservice(token, serviceid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.serviceassignmentgetservice: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to get its locations.

try {
    $api_instance->serviceassignmentgetservice($token, $serviceid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->serviceassignmentgetservice: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the service to get its locations.

eval { 
    $api_instance->serviceassignmentgetservice(token => $token, serviceid => $serviceid);
};
if ($@) {
    warn "Exception when calling DefaultApi->serviceassignmentgetservice: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the service to get its locations. (default to null)

try: 
    # View a list of locations where a service is available
    api_instance.serviceassignmentgetservice(token, serviceid)
except ApiException as e:
    print("Exception when calling DefaultApi->serviceassignmentgetservice: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.serviceassignmentgetservice(token, serviceid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
serviceid*
UUID (uuid)
The id of the service to get its locations.
Required

Responses


serviceassignmentremoveservice

Remove a service from a location

Allows the user to disable a service from a location to which they are scoped.


/serviceassignmentremoveservice

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/serviceassignmentremoveservice?token=&serviceid=&locationid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to remove.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to remove the service from.
        try {
            apiInstance.serviceassignmentremoveservice(token, serviceid, locationid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#serviceassignmentremoveservice");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to remove.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to remove the service from.
        try {
            apiInstance.serviceassignmentremoveservice(token, serviceid, locationid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#serviceassignmentremoveservice");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the service to remove. (default to null)
UUID *locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location to remove the service from. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Remove a service from a location
[apiInstance serviceassignmentremoveserviceWith:token
    serviceid:serviceid
    locationid:locationid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the service to remove.
var locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location to remove the service from.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.serviceassignmentremoveservice(token, serviceid, locationid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class serviceassignmentremoveserviceExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var serviceid = new UUID(); // UUID | The id of the service to remove. (default to null)
            var locationid = new UUID(); // UUID | The id of the location to remove the service from. (default to null)

            try
            {
                // Remove a service from a location
                apiInstance.serviceassignmentremoveservice(token, serviceid, locationid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.serviceassignmentremoveservice: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to remove.
$locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to remove the service from.

try {
    $api_instance->serviceassignmentremoveservice($token, $serviceid, $locationid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->serviceassignmentremoveservice: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the service to remove.
my $locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location to remove the service from.

eval { 
    $api_instance->serviceassignmentremoveservice(token => $token, serviceid => $serviceid, locationid => $locationid);
};
if ($@) {
    warn "Exception when calling DefaultApi->serviceassignmentremoveservice: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the service to remove. (default to null)
locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location to remove the service from. (default to null)

try: 
    # Remove a service from a location
    api_instance.serviceassignmentremoveservice(token, serviceid, locationid)
except ApiException as e:
    print("Exception when calling DefaultApi->serviceassignmentremoveservice: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.serviceassignmentremoveservice(token, serviceid, locationid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
serviceid*
UUID (uuid)
The id of the service to remove.
Required
locationid*
UUID (uuid)
The id of the location to remove the service from.
Required

Responses


servicedelete

Delete a service

Allows the user to delete a service from the existing list.


/servicedelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/servicedelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to delete.
        try {
            apiInstance.servicedelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#servicedelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to delete.
        try {
            apiInstance.servicedelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#servicedelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the service to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a service
[apiInstance servicedeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the service to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.servicedelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class servicedeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the service to delete. (default to null)

            try
            {
                // Delete a service
                apiInstance.servicedelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.servicedelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to delete.

try {
    $api_instance->servicedelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->servicedelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the service to delete.

eval { 
    $api_instance->servicedelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->servicedelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the service to delete. (default to null)

try: 
    # Delete a service
    api_instance.servicedelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->servicedelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.servicedelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the service to delete.
Required

Responses


serviceget

Search and view details of a service

Allows the user to view an individual service and its details.


/serviceget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/serviceget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to get.
        try {
            apiInstance.serviceget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#serviceget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to get.
        try {
            apiInstance.serviceget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#serviceget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the service to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of a service
[apiInstance servicegetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the service to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.serviceget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class servicegetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the service to get. (default to null)

            try
            {
                // Search and view details of a service
                apiInstance.serviceget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.serviceget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service to get.

try {
    $api_instance->serviceget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->serviceget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the service to get.

eval { 
    $api_instance->serviceget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->serviceget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the service to get. (default to null)

try: 
    # Search and view details of a service
    api_instance.serviceget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->serviceget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.serviceget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the service to get.
Required

Responses


servicelist

View a list of services

Allows the user to view the full list of existing services.


/servicelist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/servicelist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.servicelist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#servicelist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.servicelist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#servicelist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of services
[apiInstance servicelistWith:token
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.servicelist(token, from, count, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class servicelistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)

            try
            {
                // View a list of services
                apiInstance.servicelist(token, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.servicelist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->servicelist($token, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->servicelist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->servicelist(token => $token, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->servicelist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)

try: 
    # View a list of services
    api_instance.servicelist(token, from, count)
except ApiException as e:
    print("Exception when calling DefaultApi->servicelist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.servicelist(token, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


servicesave

Create or edit a service

Allows the user to create or edit a service.


/servicesave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/servicesave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.servicesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#servicesave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.servicesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#servicesave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a service
[apiInstance servicesaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.servicesave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class servicesaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a service
                apiInstance.servicesave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.servicesave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->servicesave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->servicesave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->servicesave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->servicesave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a service
    api_instance.servicesave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->servicesave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.servicesave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


sessionattendancelogaddnote

Add a note to a class attendance log

Allows the user to add a note to a class attendance log.


/sessionattendancelogaddnote

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionattendancelogaddnote?token=&id=&text="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log.
        String text = text_example; // String | The text of the note to add.
        try {
            apiInstance.sessionattendancelogaddnote(token, id, text);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendancelogaddnote");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log.
        String text = text_example; // String | The text of the note to add.
        try {
            apiInstance.sessionattendancelogaddnote(token, id, text);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendancelogaddnote");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the attendance log. (default to null)
String *text = text_example; // The text of the note to add. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Add a note to a class attendance log
[apiInstance sessionattendancelogaddnoteWith:token
    id:id
    text:text
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the attendance log.
var text = text_example; // {String} The text of the note to add.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionattendancelogaddnote(token, id, text, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionattendancelogaddnoteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the attendance log. (default to null)
            var text = text_example;  // String | The text of the note to add. (default to null)

            try
            {
                // Add a note to a class attendance log
                apiInstance.sessionattendancelogaddnote(token, id, text);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionattendancelogaddnote: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log.
$text = text_example; // String | The text of the note to add.

try {
    $api_instance->sessionattendancelogaddnote($token, $id, $text);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionattendancelogaddnote: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the attendance log.
my $text = text_example; # String | The text of the note to add.

eval { 
    $api_instance->sessionattendancelogaddnote(token => $token, id => $id, text => $text);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionattendancelogaddnote: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the attendance log. (default to null)
text = text_example # String | The text of the note to add. (default to null)

try: 
    # Add a note to a class attendance log
    api_instance.sessionattendancelogaddnote(token, id, text)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionattendancelogaddnote: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let text = text_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.sessionattendancelogaddnote(token, id, text, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the attendance log.
Required
text*
String
The text of the note to add.
Required

Responses


sessionattendancelogget

View details of a class attendance log

Allows the user to view an individual class attendance log and its details.


/sessionattendancelogget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionattendancelogget?token=&id=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to get.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 400. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.sessionattendancelogget(token, id, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendancelogget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to get.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 400. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.sessionattendancelogget(token, id, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendancelogget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the attendance log to get. (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 400. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a class attendance log
[apiInstance sessionattendanceloggetWith:token
    id:id
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the attendance log to get.
var opts = {
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 400. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionattendancelogget(token, id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionattendanceloggetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the attendance log to get. (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 400. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // View details of a class attendance log
                apiInstance.sessionattendancelogget(token, id, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionattendancelogget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendance log to get.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 400. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->sessionattendancelogget($token, $id, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionattendancelogget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the attendance log to get.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 400. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->sessionattendancelogget(token => $token, id => $id, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionattendancelogget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the attendance log to get. (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 400. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # View details of a class attendance log
    api_instance.sessionattendancelogget(token, id, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionattendancelogget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.sessionattendancelogget(token, id, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the attendance log to get.
Required
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 400. If the size specified is not available, a similar one will be returned.

Responses


sessionattendanceloggetuser

View the class session attendance information for a specific user

Allows the user to view the attendance for a specified student.


/sessionattendanceloggetuser

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionattendanceloggetuser?token=&attendee=&eventid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendee to get statistic for.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event whose attendee statistics have to be returned.
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.sessionattendanceloggetuser(attendee, eventid, token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendanceloggetuser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendee to get statistic for.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event whose attendee statistics have to be returned.
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.sessionattendanceloggetuser(attendee, eventid, token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendanceloggetuser");
            e.printStackTrace();
        }
    }
}
UUID *attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the attendee to get statistic for. (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event whose attendee statistics have to be returned. (default to null)
String *token = token_example; // The authentication token. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View the class session attendance information for a specific user
[apiInstance sessionattendanceloggetuserWith:attendee
    eventid:eventid
    token:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the attendee to get statistic for.
var eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the event whose attendee statistics have to be returned.
var opts = {
  'token': token_example // {String} The authentication token.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionattendanceloggetuser(attendee, eventid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionattendanceloggetuserExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var attendee = new UUID(); // UUID | The id of the attendee to get statistic for. (default to null)
            var eventid = new UUID(); // UUID | The id of the event whose attendee statistics have to be returned. (default to null)
            var token = token_example;  // String | The authentication token. (optional)  (default to null)

            try
            {
                // View the class session attendance information for a specific user
                apiInstance.sessionattendanceloggetuser(attendee, eventid, token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionattendanceloggetuser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendee to get statistic for.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event whose attendee statistics have to be returned.
$token = token_example; // String | The authentication token.

try {
    $api_instance->sessionattendanceloggetuser($attendee, $eventid, $token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionattendanceloggetuser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the attendee to get statistic for.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event whose attendee statistics have to be returned.
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->sessionattendanceloggetuser(attendee => $attendee, eventid => $eventid, token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionattendanceloggetuser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the attendee to get statistic for. (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event whose attendee statistics have to be returned. (default to null)
token = token_example # String | The authentication token. (optional) (default to null)

try: 
    # View the class session attendance information for a specific user
    api_instance.sessionattendanceloggetuser(attendee, eventid, token=token)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionattendanceloggetuser: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.sessionattendanceloggetuser(attendee, eventid, token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token
String
The authentication token.
attendee*
UUID (uuid)
The id of the attendee to get statistic for.
Required
eventid*
UUID (uuid)
The id of the event whose attendee statistics have to be returned.
Required

Responses


sessionattendanceloglist

View attendance logs of the specified session

Allows the user to view the full list of logs from a specified session


/sessionattendanceloglist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionattendanceloglist?token=&session=&from=&count=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID session = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the session whose attendees logs have to be returned.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.sessionattendanceloglist(token, session, from, count, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendanceloglist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID session = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the session whose attendees logs have to be returned.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.sessionattendanceloglist(token, session, from, count, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendanceloglist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *session = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the session whose attendees logs have to be returned. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View attendance logs of the specified session
[apiInstance sessionattendanceloglistWith:token
    session:session
    from:from
    count:count
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var session = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the session whose attendees logs have to be returned.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionattendanceloglist(token, session, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionattendanceloglistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var session = new UUID(); // UUID | The id of the session whose attendees logs have to be returned. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // View attendance logs of the specified session
                apiInstance.sessionattendanceloglist(token, session, from, count, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionattendanceloglist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$session = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the session whose attendees logs have to be returned.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->sessionattendanceloglist($token, $session, $from, $count, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionattendanceloglist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $session = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the session whose attendees logs have to be returned.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->sessionattendanceloglist(token => $token, session => $session, from => $from, count => $count, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionattendanceloglist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
session = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the session whose attendees logs have to be returned. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # View attendance logs of the specified session
    api_instance.sessionattendanceloglist(token, session, from, count, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionattendanceloglist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let session = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let from = 56; // Integer
    let count = 56; // Integer
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.sessionattendanceloglist(token, session, from, count, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
session*
UUID (uuid)
The id of the session whose attendees logs have to be returned.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


sessionattendanceloglistevent

View the attendance information of an entire class

Allows the user to view the attendance information for an entire class


/sessionattendanceloglistevent

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionattendanceloglistevent?token=&eventid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event whose attendance has to be returned.
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.sessionattendanceloglistevent(eventid, token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendanceloglistevent");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event whose attendance has to be returned.
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.sessionattendanceloglistevent(eventid, token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendanceloglistevent");
            e.printStackTrace();
        }
    }
}
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event whose attendance has to be returned. (default to null)
String *token = token_example; // The authentication token. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View the attendance information of an entire class
[apiInstance sessionattendanceloglisteventWith:eventid
    token:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the event whose attendance has to be returned.
var opts = {
  'token': token_example // {String} The authentication token.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionattendanceloglistevent(eventid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionattendanceloglisteventExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var eventid = new UUID(); // UUID | The id of the event whose attendance has to be returned. (default to null)
            var token = token_example;  // String | The authentication token. (optional)  (default to null)

            try
            {
                // View the attendance information of an entire class
                apiInstance.sessionattendanceloglistevent(eventid, token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionattendanceloglistevent: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event whose attendance has to be returned.
$token = token_example; // String | The authentication token.

try {
    $api_instance->sessionattendanceloglistevent($eventid, $token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionattendanceloglistevent: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event whose attendance has to be returned.
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->sessionattendanceloglistevent(eventid => $eventid, token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionattendanceloglistevent: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event whose attendance has to be returned. (default to null)
token = token_example # String | The authentication token. (optional) (default to null)

try: 
    # View the attendance information of an entire class
    api_instance.sessionattendanceloglistevent(eventid, token=token)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionattendanceloglistevent: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.sessionattendanceloglistevent(eventid, token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token
String
The authentication token.
eventid*
UUID (uuid)
The id of the event whose attendance has to be returned.
Required

Responses


sessionattendanceloglistsummary

View the attendance summary for a class and/or a attendee

Allows the user to view the attendance summary for a given class and/or attendee.


/sessionattendanceloglistsummary

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionattendanceloglistsummary?token=&eventid=&attendeeid=&groupid=&start=&end="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event whose attendance has to be returned.
        UUID attendeeid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendee whose attendance has to be returned.
        UUID groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group whose attendance has to be returned.
        String start = start_example; // String | The start date to filter (beginning of time by default).
        String end = end_example; // String | The end date to filter (today by default).
        try {
            apiInstance.sessionattendanceloglistsummary(token, eventid, attendeeid, groupid, start, end);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendanceloglistsummary");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event whose attendance has to be returned.
        UUID attendeeid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendee whose attendance has to be returned.
        UUID groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group whose attendance has to be returned.
        String start = start_example; // String | The start date to filter (beginning of time by default).
        String end = end_example; // String | The end date to filter (today by default).
        try {
            apiInstance.sessionattendanceloglistsummary(token, eventid, attendeeid, groupid, start, end);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendanceloglistsummary");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (optional) (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event whose attendance has to be returned. (optional) (default to null)
UUID *attendeeid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the attendee whose attendance has to be returned. (optional) (default to null)
UUID *groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the group whose attendance has to be returned. (optional) (default to null)
String *start = start_example; // The start date to filter (beginning of time by default). (optional) (default to null)
String *end = end_example; // The end date to filter (today by default). (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View the attendance summary for a class and/or a attendee
[apiInstance sessionattendanceloglistsummaryWith:token
    eventid:eventid
    attendeeid:attendeeid
    groupid:groupid
    start:start
    end:end
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'token': token_example, // {String} The authentication token.
  'eventid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the event whose attendance has to be returned.
  'attendeeid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the attendee whose attendance has to be returned.
  'groupid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the group whose attendance has to be returned.
  'start': start_example, // {String} The start date to filter (beginning of time by default).
  'end': end_example // {String} The end date to filter (today by default).
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionattendanceloglistsummary(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionattendanceloglistsummaryExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (optional)  (default to null)
            var eventid = new UUID(); // UUID | The id of the event whose attendance has to be returned. (optional)  (default to null)
            var attendeeid = new UUID(); // UUID | The id of the attendee whose attendance has to be returned. (optional)  (default to null)
            var groupid = new UUID(); // UUID | The id of the group whose attendance has to be returned. (optional)  (default to null)
            var start = start_example;  // String | The start date to filter (beginning of time by default). (optional)  (default to null)
            var end = end_example;  // String | The end date to filter (today by default). (optional)  (default to null)

            try
            {
                // View the attendance summary for a class and/or a attendee
                apiInstance.sessionattendanceloglistsummary(token, eventid, attendeeid, groupid, start, end);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionattendanceloglistsummary: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event whose attendance has to be returned.
$attendeeid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendee whose attendance has to be returned.
$groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group whose attendance has to be returned.
$start = start_example; // String | The start date to filter (beginning of time by default).
$end = end_example; // String | The end date to filter (today by default).

try {
    $api_instance->sessionattendanceloglistsummary($token, $eventid, $attendeeid, $groupid, $start, $end);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionattendanceloglistsummary: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event whose attendance has to be returned.
my $attendeeid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the attendee whose attendance has to be returned.
my $groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the group whose attendance has to be returned.
my $start = start_example; # String | The start date to filter (beginning of time by default).
my $end = end_example; # String | The end date to filter (today by default).

eval { 
    $api_instance->sessionattendanceloglistsummary(token => $token, eventid => $eventid, attendeeid => $attendeeid, groupid => $groupid, start => $start, end => $end);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionattendanceloglistsummary: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (optional) (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event whose attendance has to be returned. (optional) (default to null)
attendeeid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the attendee whose attendance has to be returned. (optional) (default to null)
groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the group whose attendance has to be returned. (optional) (default to null)
start = start_example # String | The start date to filter (beginning of time by default). (optional) (default to null)
end = end_example # String | The end date to filter (today by default). (optional) (default to null)

try: 
    # View the attendance summary for a class and/or a attendee
    api_instance.sessionattendanceloglistsummary(token=token, eventid=eventid, attendeeid=attendeeid, groupid=groupid, start=start, end=end)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionattendanceloglistsummary: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let attendeeid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let start = start_example; // String
    let end = end_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.sessionattendanceloglistsummary(token, eventid, attendeeid, groupid, start, end, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token
String
The authentication token.
eventid
UUID (uuid)
The id of the event whose attendance has to be returned.
attendeeid
UUID (uuid)
The id of the attendee whose attendance has to be returned.
groupid
UUID (uuid)
The id of the group whose attendance has to be returned.
start
String
The start date to filter (beginning of time by default).
end
String
The end date to filter (today by default).

Responses


sessionattendancelogmylistsummary

View my attendance summary

Allows the user to view their own attendance summary.


/sessionattendancelogmylistsummary

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionattendancelogmylistsummary?token=&eventid=&start=&end="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event whose attendance has to be returned.
        String start = start_example; // String | The start date to filter (beginning of time by default).
        String end = end_example; // String | The end date to filter (today by default).
        try {
            apiInstance.sessionattendancelogmylistsummary(token, eventid, start, end);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendancelogmylistsummary");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event whose attendance has to be returned.
        String start = start_example; // String | The start date to filter (beginning of time by default).
        String end = end_example; // String | The end date to filter (today by default).
        try {
            apiInstance.sessionattendancelogmylistsummary(token, eventid, start, end);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendancelogmylistsummary");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (optional) (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event whose attendance has to be returned. (optional) (default to null)
String *start = start_example; // The start date to filter (beginning of time by default). (optional) (default to null)
String *end = end_example; // The end date to filter (today by default). (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View my attendance summary
[apiInstance sessionattendancelogmylistsummaryWith:token
    eventid:eventid
    start:start
    end:end
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'token': token_example, // {String} The authentication token.
  'eventid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the event whose attendance has to be returned.
  'start': start_example, // {String} The start date to filter (beginning of time by default).
  'end': end_example // {String} The end date to filter (today by default).
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionattendancelogmylistsummary(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionattendancelogmylistsummaryExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (optional)  (default to null)
            var eventid = new UUID(); // UUID | The id of the event whose attendance has to be returned. (optional)  (default to null)
            var start = start_example;  // String | The start date to filter (beginning of time by default). (optional)  (default to null)
            var end = end_example;  // String | The end date to filter (today by default). (optional)  (default to null)

            try
            {
                // View my attendance summary
                apiInstance.sessionattendancelogmylistsummary(token, eventid, start, end);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionattendancelogmylistsummary: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event whose attendance has to be returned.
$start = start_example; // String | The start date to filter (beginning of time by default).
$end = end_example; // String | The end date to filter (today by default).

try {
    $api_instance->sessionattendancelogmylistsummary($token, $eventid, $start, $end);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionattendancelogmylistsummary: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event whose attendance has to be returned.
my $start = start_example; # String | The start date to filter (beginning of time by default).
my $end = end_example; # String | The end date to filter (today by default).

eval { 
    $api_instance->sessionattendancelogmylistsummary(token => $token, eventid => $eventid, start => $start, end => $end);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionattendancelogmylistsummary: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (optional) (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event whose attendance has to be returned. (optional) (default to null)
start = start_example # String | The start date to filter (beginning of time by default). (optional) (default to null)
end = end_example # String | The end date to filter (today by default). (optional) (default to null)

try: 
    # View my attendance summary
    api_instance.sessionattendancelogmylistsummary(token=token, eventid=eventid, start=start, end=end)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionattendancelogmylistsummary: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let start = start_example; // String
    let end = end_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.sessionattendancelogmylistsummary(token, eventid, start, end, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token
String
The authentication token.
eventid
UUID (uuid)
The id of the event whose attendance has to be returned.
start
String
The start date to filter (beginning of time by default).
end
String
The end date to filter (today by default).

Responses


sessionattendancelogsave

Create or edit a class attendance log

Allows the user to create or edit a class attendance log.


/sessionattendancelogsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/sessionattendancelogsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.sessionattendancelogsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendancelogsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.sessionattendancelogsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendancelogsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a class attendance log
[apiInstance sessionattendancelogsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionattendancelogsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionattendancelogsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a class attendance log
                apiInstance.sessionattendancelogsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionattendancelogsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->sessionattendancelogsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionattendancelogsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->sessionattendancelogsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionattendancelogsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a class attendance log
    api_instance.sessionattendancelogsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionattendancelogsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.sessionattendancelogsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


sessionattendancelogsaveswipe

Create or edit a class attendance log swipe

Allows the user to create or edit a class attendance log swipe, which are the details of time in or out.


/sessionattendancelogsaveswipe

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/sessionattendancelogsaveswipe"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.sessionattendancelogsaveswipe(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendancelogsaveswipe");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.sessionattendancelogsaveswipe(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionattendancelogsaveswipe");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a class attendance log swipe
[apiInstance sessionattendancelogsaveswipeWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionattendancelogsaveswipe(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionattendancelogsaveswipeExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a class attendance log swipe
                apiInstance.sessionattendancelogsaveswipe(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionattendancelogsaveswipe: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->sessionattendancelogsaveswipe($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionattendancelogsaveswipe: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->sessionattendancelogsaveswipe(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionattendancelogsaveswipe: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a class attendance log swipe
    api_instance.sessionattendancelogsaveswipe(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionattendancelogsaveswipe: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.sessionattendancelogsaveswipe(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


sessionbulkupdate

Bulk update event sessions

Allows the user to bulk update event sessions by setting multiple attendees as present, absent, tardy, etc.


/sessionbulkupdate

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionbulkupdate?token=&eventid=&sessions="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to bulk update.
        String sessions = sessions_example; // String | A JSON-formatted array, with all the sessions to update, create or delete. Each item must contain an action (set/remove) and the session properties.
        try {
            apiInstance.sessionbulkupdate(token, eventid, sessions);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionbulkupdate");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to bulk update.
        String sessions = sessions_example; // String | A JSON-formatted array, with all the sessions to update, create or delete. Each item must contain an action (set/remove) and the session properties.
        try {
            apiInstance.sessionbulkupdate(token, eventid, sessions);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionbulkupdate");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event to bulk update. (default to null)
String *sessions = sessions_example; // A JSON-formatted array, with all the sessions to update, create or delete. Each item must contain an action (set/remove) and the session properties. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Bulk update event sessions
[apiInstance sessionbulkupdateWith:token
    eventid:eventid
    sessions:sessions
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the event to bulk update.
var sessions = sessions_example; // {String} A JSON-formatted array, with all the sessions to update, create or delete. Each item must contain an action (set/remove) and the session properties.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionbulkupdate(token, eventid, sessions, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionbulkupdateExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var eventid = new UUID(); // UUID | The id of the event to bulk update. (default to null)
            var sessions = sessions_example;  // String | A JSON-formatted array, with all the sessions to update, create or delete. Each item must contain an action (set/remove) and the session properties. (default to null)

            try
            {
                // Bulk update event sessions
                apiInstance.sessionbulkupdate(token, eventid, sessions);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionbulkupdate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to bulk update.
$sessions = sessions_example; // String | A JSON-formatted array, with all the sessions to update, create or delete. Each item must contain an action (set/remove) and the session properties.

try {
    $api_instance->sessionbulkupdate($token, $eventid, $sessions);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionbulkupdate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event to bulk update.
my $sessions = sessions_example; # String | A JSON-formatted array, with all the sessions to update, create or delete. Each item must contain an action (set/remove) and the session properties.

eval { 
    $api_instance->sessionbulkupdate(token => $token, eventid => $eventid, sessions => $sessions);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionbulkupdate: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event to bulk update. (default to null)
sessions = sessions_example # String | A JSON-formatted array, with all the sessions to update, create or delete. Each item must contain an action (set/remove) and the session properties. (default to null)

try: 
    # Bulk update event sessions
    api_instance.sessionbulkupdate(token, eventid, sessions)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionbulkupdate: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let sessions = sessions_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.sessionbulkupdate(token, eventid, sessions, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
eventid*
UUID (uuid)
The id of the event to bulk update.
Required
sessions*
String
A JSON-formatted array, with all the sessions to update, create or delete. Each item must contain an action (set/remove) and the session properties.
Required

Responses


sessionget

View details of a session

Allows the user to view a session in order to take attendance.


/sessionget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the session to get.
        try {
            apiInstance.sessionget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the session to get.
        try {
            apiInstance.sessionget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the session to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a session
[apiInstance sessiongetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the session to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessiongetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the session to get. (default to null)

            try
            {
                // View details of a session
                apiInstance.sessionget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the session to get.

try {
    $api_instance->sessionget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the session to get.

eval { 
    $api_instance->sessionget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the session to get. (default to null)

try: 
    # View details of a session
    api_instance.sessionget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.sessionget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the session to get.
Required

Responses


sessiongetschedule

Gets the schedule for a location, instructor or attendees


/sessiongetschedule

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessiongetschedule?token=&day=&attendee=&location=&instructor="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date day = 2013-10-20T19:20:30+01:00; // Date | The day to return. It will also return the whole week for that day.
        UUID attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendee to get the schedule.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to get the schedule.
        UUID instructor = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the instructor to get the schedule.
        try {
            apiInstance.sessiongetschedule(token, day, attendee, location, instructor);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessiongetschedule");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date day = 2013-10-20T19:20:30+01:00; // Date | The day to return. It will also return the whole week for that day.
        UUID attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendee to get the schedule.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to get the schedule.
        UUID instructor = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the instructor to get the schedule.
        try {
            apiInstance.sessiongetschedule(token, day, attendee, location, instructor);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessiongetschedule");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (optional) (default to null)
Date *day = 2013-10-20T19:20:30+01:00; // The day to return. It will also return the whole week for that day. (optional) (default to null)
UUID *attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the attendee to get the schedule. (optional) (default to null)
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location to get the schedule. (optional) (default to null)
UUID *instructor = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the instructor to get the schedule. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the schedule for a location, instructor or attendees
[apiInstance sessiongetscheduleWith:token
    day:day
    attendee:attendee
    location:location
    instructor:instructor
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'token': token_example, // {String} The authentication token.
  'day': 2013-10-20T19:20:30+01:00, // {Date} The day to return. It will also return the whole week for that day.
  'attendee': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the attendee to get the schedule.
  'location': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the location to get the schedule.
  'instructor': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} The id of the instructor to get the schedule.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessiongetschedule(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessiongetscheduleExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (optional)  (default to null)
            var day = 2013-10-20T19:20:30+01:00;  // Date | The day to return. It will also return the whole week for that day. (optional)  (default to null)
            var attendee = new UUID(); // UUID | The id of the attendee to get the schedule. (optional)  (default to null)
            var location = new UUID(); // UUID | The id of the location to get the schedule. (optional)  (default to null)
            var instructor = new UUID(); // UUID | The id of the instructor to get the schedule. (optional)  (default to null)

            try
            {
                // Gets the schedule for a location, instructor or attendees
                apiInstance.sessiongetschedule(token, day, attendee, location, instructor);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessiongetschedule: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$day = 2013-10-20T19:20:30+01:00; // Date | The day to return. It will also return the whole week for that day.
$attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the attendee to get the schedule.
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to get the schedule.
$instructor = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the instructor to get the schedule.

try {
    $api_instance->sessiongetschedule($token, $day, $attendee, $location, $instructor);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessiongetschedule: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $day = 2013-10-20T19:20:30+01:00; # Date | The day to return. It will also return the whole week for that day.
my $attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the attendee to get the schedule.
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location to get the schedule.
my $instructor = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the instructor to get the schedule.

eval { 
    $api_instance->sessiongetschedule(token => $token, day => $day, attendee => $attendee, location => $location, instructor => $instructor);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessiongetschedule: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (optional) (default to null)
day = 2013-10-20T19:20:30+01:00 # Date | The day to return. It will also return the whole week for that day. (optional) (default to null)
attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the attendee to get the schedule. (optional) (default to null)
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location to get the schedule. (optional) (default to null)
instructor = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the instructor to get the schedule. (optional) (default to null)

try: 
    # Gets the schedule for a location, instructor or attendees
    api_instance.sessiongetschedule(token=token, day=day, attendee=attendee, location=location, instructor=instructor)
except ApiException as e:
    print("Exception when calling DefaultApi->sessiongetschedule: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let day = 2013-10-20T19:20:30+01:00; // Date
    let attendee = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let instructor = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.sessiongetschedule(token, day, attendee, location, instructor, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token
String
The authentication token.
day
Date (date-time)
The day to return. It will also return the whole week for that day.
attendee
UUID (uuid)
The id of the attendee to get the schedule.
location
UUID (uuid)
The id of the location to get the schedule.
instructor
UUID (uuid)
The id of the instructor to get the schedule.

Responses


sessionlist

Gets all future sessions of the current semester


/sessionlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionlist?token=&from=&count=&startdate=&enddate="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String token = token_example; // String | The authentication token.
        Date startdate = 2013-10-20T19:20:30+01:00; // Date | The start date to filter the sessions
        Date enddate = 2013-10-20T19:20:30+01:00; // Date | The end date to filter the sessions.
        try {
            apiInstance.sessionlist(from, count, token, startdate, enddate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String token = token_example; // String | The authentication token.
        Date startdate = 2013-10-20T19:20:30+01:00; // Date | The start date to filter the sessions
        Date enddate = 2013-10-20T19:20:30+01:00; // Date | The end date to filter the sessions.
        try {
            apiInstance.sessionlist(from, count, token, startdate, enddate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionlist");
            e.printStackTrace();
        }
    }
}
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
String *token = token_example; // The authentication token. (optional) (default to null)
Date *startdate = 2013-10-20T19:20:30+01:00; // The start date to filter the sessions (optional) (default to null)
Date *enddate = 2013-10-20T19:20:30+01:00; // The end date to filter the sessions. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets all future sessions of the current semester
[apiInstance sessionlistWith:from
    count:count
    token:token
    startdate:startdate
    enddate:enddate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'token': token_example, // {String} The authentication token.
  'startdate': 2013-10-20T19:20:30+01:00, // {Date} The start date to filter the sessions
  'enddate': 2013-10-20T19:20:30+01:00 // {Date} The end date to filter the sessions.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionlist(from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var token = token_example;  // String | The authentication token. (optional)  (default to null)
            var startdate = 2013-10-20T19:20:30+01:00;  // Date | The start date to filter the sessions (optional)  (default to null)
            var enddate = 2013-10-20T19:20:30+01:00;  // Date | The end date to filter the sessions. (optional)  (default to null)

            try
            {
                // Gets all future sessions of the current semester
                apiInstance.sessionlist(from, count, token, startdate, enddate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$token = token_example; // String | The authentication token.
$startdate = 2013-10-20T19:20:30+01:00; // Date | The start date to filter the sessions
$enddate = 2013-10-20T19:20:30+01:00; // Date | The end date to filter the sessions.

try {
    $api_instance->sessionlist($from, $count, $token, $startdate, $enddate);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $token = token_example; # String | The authentication token.
my $startdate = 2013-10-20T19:20:30+01:00; # Date | The start date to filter the sessions
my $enddate = 2013-10-20T19:20:30+01:00; # Date | The end date to filter the sessions.

eval { 
    $api_instance->sessionlist(from => $from, count => $count, token => $token, startdate => $startdate, enddate => $enddate);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
token = token_example # String | The authentication token. (optional) (default to null)
startdate = 2013-10-20T19:20:30+01:00 # Date | The start date to filter the sessions (optional) (default to null)
enddate = 2013-10-20T19:20:30+01:00 # Date | The end date to filter the sessions. (optional) (default to null)

try: 
    # Gets all future sessions of the current semester
    api_instance.sessionlist(from, count, token=token, startdate=startdate, enddate=enddate)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let from = 56; // Integer
    let count = 56; // Integer
    let token = token_example; // String
    let startdate = 2013-10-20T19:20:30+01:00; // Date
    let enddate = 2013-10-20T19:20:30+01:00; // Date

    let mut context = DefaultApi::Context::default();
    let result = client.sessionlist(from, count, token, startdate, enddate, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token
String
The authentication token.
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
startdate
Date (date-time)
The start date to filter the sessions
enddate
Date (date-time)
The end date to filter the sessions.

Responses


sessionregaddcurrentuser

Register current user to an event session

Allows the user to register themselves for an event.


/sessionregaddcurrentuser

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionregaddcurrentuser?token=&eventid=&sessiondate="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
        Date sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date and time when the session starts.
        try {
            apiInstance.sessionregaddcurrentuser(token, eventid, sessiondate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionregaddcurrentuser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
        Date sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date and time when the session starts.
        try {
            apiInstance.sessionregaddcurrentuser(token, eventid, sessiondate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionregaddcurrentuser");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event. (default to null)
Date *sessiondate = 2013-10-20T19:20:30+01:00; // The date and time when the session starts. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Register current user to an event session
[apiInstance sessionregaddcurrentuserWith:token
    eventid:eventid
    sessiondate:sessiondate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the event.
var sessiondate = 2013-10-20T19:20:30+01:00; // {Date} The date and time when the session starts.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionregaddcurrentuser(token, eventid, sessiondate, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionregaddcurrentuserExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var eventid = new UUID(); // UUID | The id of the event. (default to null)
            var sessiondate = 2013-10-20T19:20:30+01:00;  // Date | The date and time when the session starts. (default to null)

            try
            {
                // Register current user to an event session
                apiInstance.sessionregaddcurrentuser(token, eventid, sessiondate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionregaddcurrentuser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
$sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date and time when the session starts.

try {
    $api_instance->sessionregaddcurrentuser($token, $eventid, $sessiondate);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionregaddcurrentuser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event.
my $sessiondate = 2013-10-20T19:20:30+01:00; # Date | The date and time when the session starts.

eval { 
    $api_instance->sessionregaddcurrentuser(token => $token, eventid => $eventid, sessiondate => $sessiondate);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionregaddcurrentuser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event. (default to null)
sessiondate = 2013-10-20T19:20:30+01:00 # Date | The date and time when the session starts. (default to null)

try: 
    # Register current user to an event session
    api_instance.sessionregaddcurrentuser(token, eventid, sessiondate)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionregaddcurrentuser: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let sessiondate = 2013-10-20T19:20:30+01:00; // Date

    let mut context = DefaultApi::Context::default();
    let result = client.sessionregaddcurrentuser(token, eventid, sessiondate, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
eventid*
UUID (uuid)
The id of the event.
Required
sessiondate*
Date (date-time)
The date and time when the session starts.
Required

Responses


sessionregadduser

Register users for events

Allows the user to register another user for an upcoming event.


/sessionregadduser

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionregadduser?token=&userid=&eventid=&sessiondate="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
        Date sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date and time when the session starts.
        try {
            apiInstance.sessionregadduser(token, userid, eventid, sessiondate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionregadduser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
        Date sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date and time when the session starts.
        try {
            apiInstance.sessionregadduser(token, userid, eventid, sessiondate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionregadduser");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to add. (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event. (default to null)
Date *sessiondate = 2013-10-20T19:20:30+01:00; // The date and time when the session starts. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Register users for events
[apiInstance sessionregadduserWith:token
    userid:userid
    eventid:eventid
    sessiondate:sessiondate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to add.
var eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the event.
var sessiondate = 2013-10-20T19:20:30+01:00; // {Date} The date and time when the session starts.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionregadduser(token, userid, eventid, sessiondate, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionregadduserExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to add. (default to null)
            var eventid = new UUID(); // UUID | The id of the event. (default to null)
            var sessiondate = 2013-10-20T19:20:30+01:00;  // Date | The date and time when the session starts. (default to null)

            try
            {
                // Register users for events
                apiInstance.sessionregadduser(token, userid, eventid, sessiondate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionregadduser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
$sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date and time when the session starts.

try {
    $api_instance->sessionregadduser($token, $userid, $eventid, $sessiondate);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionregadduser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to add.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event.
my $sessiondate = 2013-10-20T19:20:30+01:00; # Date | The date and time when the session starts.

eval { 
    $api_instance->sessionregadduser(token => $token, userid => $userid, eventid => $eventid, sessiondate => $sessiondate);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionregadduser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to add. (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event. (default to null)
sessiondate = 2013-10-20T19:20:30+01:00 # Date | The date and time when the session starts. (default to null)

try: 
    # Register users for events
    api_instance.sessionregadduser(token, userid, eventid, sessiondate)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionregadduser: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let sessiondate = 2013-10-20T19:20:30+01:00; // Date

    let mut context = DefaultApi::Context::default();
    let result = client.sessionregadduser(token, userid, eventid, sessiondate, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to add.
Required
eventid*
UUID (uuid)
The id of the event.
Required
sessiondate*
Date (date-time)
The date and time when the session starts.
Required

Responses


sessionreggetmysessions

View all the sessions the logged user is registered to


/sessionreggetmysessions

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionreggetmysessions?token=&date="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date date = 2013-10-20T19:20:30+01:00; // Date | Start date to filter the sessions.
        try {
            apiInstance.sessionreggetmysessions(token, date);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionreggetmysessions");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date date = 2013-10-20T19:20:30+01:00; // Date | Start date to filter the sessions.
        try {
            apiInstance.sessionreggetmysessions(token, date);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionreggetmysessions");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Date *date = 2013-10-20T19:20:30+01:00; // Start date to filter the sessions. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View all the sessions the logged user is registered to
[apiInstance sessionreggetmysessionsWith:token
    date:date
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'date': 2013-10-20T19:20:30+01:00 // {Date} Start date to filter the sessions.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionreggetmysessions(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionreggetmysessionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var date = 2013-10-20T19:20:30+01:00;  // Date | Start date to filter the sessions. (optional)  (default to null)

            try
            {
                // View all the sessions the logged user is registered to
                apiInstance.sessionreggetmysessions(token, date);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionreggetmysessions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$date = 2013-10-20T19:20:30+01:00; // Date | Start date to filter the sessions.

try {
    $api_instance->sessionreggetmysessions($token, $date);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionreggetmysessions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $date = 2013-10-20T19:20:30+01:00; # Date | Start date to filter the sessions.

eval { 
    $api_instance->sessionreggetmysessions(token => $token, date => $date);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionreggetmysessions: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
date = 2013-10-20T19:20:30+01:00 # Date | Start date to filter the sessions. (optional) (default to null)

try: 
    # View all the sessions the logged user is registered to
    api_instance.sessionreggetmysessions(token, date=date)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionreggetmysessions: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let date = 2013-10-20T19:20:30+01:00; // Date

    let mut context = DefaultApi::Context::default();
    let result = client.sessionreggetmysessions(token, date, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
date
Date (date-time)
Start date to filter the sessions.

Responses


sessionreggetsessions

Lists the registrations for a specific user

Allows the user to view the session registrations for a specified user, provided they have the ability to view that user.


/sessionreggetsessions

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionreggetsessions?token=&userid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id to list sessions.
        try {
            apiInstance.sessionreggetsessions(token, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionreggetsessions");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id to list sessions.
        try {
            apiInstance.sessionreggetsessions(token, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionreggetsessions");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The user id to list sessions. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists the registrations for a specific user
[apiInstance sessionreggetsessionsWith:token
    userid:userid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The user id to list sessions.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionreggetsessions(token, userid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionreggetsessionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The user id to list sessions. (default to null)

            try
            {
                // Lists the registrations for a specific user
                apiInstance.sessionreggetsessions(token, userid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionreggetsessions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id to list sessions.

try {
    $api_instance->sessionreggetsessions($token, $userid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionreggetsessions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The user id to list sessions.

eval { 
    $api_instance->sessionreggetsessions(token => $token, userid => $userid);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionreggetsessions: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The user id to list sessions. (default to null)

try: 
    # Lists the registrations for a specific user
    api_instance.sessionreggetsessions(token, userid)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionreggetsessions: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.sessionreggetsessions(token, userid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The user id to list sessions.
Required

Responses


sessionreggetsettings

Get the settings for session registration

Allows the user to view a event's session registration settings.


/sessionreggetsettings

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionreggetsettings?token=&locationid=&eventid=&sessiondate=&noinherit="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to save settings.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to save settings.
        Date sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date and time when the session starts.
        Boolean noinherit = true; // Boolean | True to get the location/event/session specific settings without looking for the more global settings.
        try {
            apiInstance.sessionreggetsettings(token, locationid, eventid, sessiondate, noinherit);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionreggetsettings");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to save settings.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to save settings.
        Date sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date and time when the session starts.
        Boolean noinherit = true; // Boolean | True to get the location/event/session specific settings without looking for the more global settings.
        try {
            apiInstance.sessionreggetsettings(token, locationid, eventid, sessiondate, noinherit);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionreggetsettings");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location to save settings. (optional) (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event to save settings. (optional) (default to null)
Date *sessiondate = 2013-10-20T19:20:30+01:00; // The date and time when the session starts. (optional) (default to null)
Boolean *noinherit = true; // True to get the location/event/session specific settings without looking for the more global settings. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get the settings for session registration
[apiInstance sessionreggetsettingsWith:token
    locationid:locationid
    eventid:eventid
    sessiondate:sessiondate
    noinherit:noinherit
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'locationid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the location to save settings.
  'eventid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the event to save settings.
  'sessiondate': 2013-10-20T19:20:30+01:00, // {Date} The date and time when the session starts.
  'noinherit': true // {Boolean} True to get the location/event/session specific settings without looking for the more global settings.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionreggetsettings(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionreggetsettingsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var locationid = new UUID(); // UUID | The id of the location to save settings. (optional)  (default to null)
            var eventid = new UUID(); // UUID | The id of the event to save settings. (optional)  (default to null)
            var sessiondate = 2013-10-20T19:20:30+01:00;  // Date | The date and time when the session starts. (optional)  (default to null)
            var noinherit = true;  // Boolean | True to get the location/event/session specific settings without looking for the more global settings. (optional)  (default to null)

            try
            {
                // Get the settings for session registration
                apiInstance.sessionreggetsettings(token, locationid, eventid, sessiondate, noinherit);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionreggetsettings: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location to save settings.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event to save settings.
$sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date and time when the session starts.
$noinherit = true; // Boolean | True to get the location/event/session specific settings without looking for the more global settings.

try {
    $api_instance->sessionreggetsettings($token, $locationid, $eventid, $sessiondate, $noinherit);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionreggetsettings: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location to save settings.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event to save settings.
my $sessiondate = 2013-10-20T19:20:30+01:00; # Date | The date and time when the session starts.
my $noinherit = true; # Boolean | True to get the location/event/session specific settings without looking for the more global settings.

eval { 
    $api_instance->sessionreggetsettings(token => $token, locationid => $locationid, eventid => $eventid, sessiondate => $sessiondate, noinherit => $noinherit);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionreggetsettings: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location to save settings. (optional) (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event to save settings. (optional) (default to null)
sessiondate = 2013-10-20T19:20:30+01:00 # Date | The date and time when the session starts. (optional) (default to null)
noinherit = true # Boolean | True to get the location/event/session specific settings without looking for the more global settings. (optional) (default to null)

try: 
    # Get the settings for session registration
    api_instance.sessionreggetsettings(token, locationid=locationid, eventid=eventid, sessiondate=sessiondate, noinherit=noinherit)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionreggetsettings: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let sessiondate = 2013-10-20T19:20:30+01:00; // Date
    let noinherit = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.sessionreggetsettings(token, locationid, eventid, sessiondate, noinherit, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
locationid
UUID (uuid)
The id of the location to save settings.
eventid
UUID (uuid)
The id of the event to save settings.
sessiondate
Date (date-time)
The date and time when the session starts.
noinherit
Boolean
True to get the location/event/session specific settings without looking for the more global settings.

Responses


sessionreggetusers

Lists the registrations for a specific session

Allows the user to view the registration for a specified event session.


/sessionreggetusers

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionreggetusers?token=&eventid=&sessiondate="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The event id to list sessions.
        Date sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date of the session to find.
        try {
            apiInstance.sessionreggetusers(token, eventid, sessiondate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionreggetusers");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The event id to list sessions.
        Date sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date of the session to find.
        try {
            apiInstance.sessionreggetusers(token, eventid, sessiondate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionreggetusers");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The event id to list sessions. (default to null)
Date *sessiondate = 2013-10-20T19:20:30+01:00; // The date of the session to find. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists the registrations for a specific session
[apiInstance sessionreggetusersWith:token
    eventid:eventid
    sessiondate:sessiondate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The event id to list sessions.
var sessiondate = 2013-10-20T19:20:30+01:00; // {Date} The date of the session to find.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionreggetusers(token, eventid, sessiondate, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionreggetusersExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var eventid = new UUID(); // UUID | The event id to list sessions. (default to null)
            var sessiondate = 2013-10-20T19:20:30+01:00;  // Date | The date of the session to find. (default to null)

            try
            {
                // Lists the registrations for a specific session
                apiInstance.sessionreggetusers(token, eventid, sessiondate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionreggetusers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The event id to list sessions.
$sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date of the session to find.

try {
    $api_instance->sessionreggetusers($token, $eventid, $sessiondate);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionreggetusers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The event id to list sessions.
my $sessiondate = 2013-10-20T19:20:30+01:00; # Date | The date of the session to find.

eval { 
    $api_instance->sessionreggetusers(token => $token, eventid => $eventid, sessiondate => $sessiondate);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionreggetusers: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The event id to list sessions. (default to null)
sessiondate = 2013-10-20T19:20:30+01:00 # Date | The date of the session to find. (default to null)

try: 
    # Lists the registrations for a specific session
    api_instance.sessionreggetusers(token, eventid, sessiondate)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionreggetusers: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let sessiondate = 2013-10-20T19:20:30+01:00; // Date

    let mut context = DefaultApi::Context::default();
    let result = client.sessionreggetusers(token, eventid, sessiondate, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
eventid*
UUID (uuid)
The event id to list sessions.
Required
sessiondate*
Date (date-time)
The date of the session to find.
Required

Responses


sessionreglistsessions

List the sessions available for a specific event

Allows the user to view all the sessions available for a recurring event.


/sessionreglistsessions

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionreglistsessions?token=&eventid=&sessiondate="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The event id to list sessions.
        Date sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date of the session to find.
        try {
            apiInstance.sessionreglistsessions(token, eventid, sessiondate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionreglistsessions");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The event id to list sessions.
        Date sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date of the session to find.
        try {
            apiInstance.sessionreglistsessions(token, eventid, sessiondate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionreglistsessions");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The event id to list sessions. (default to null)
Date *sessiondate = 2013-10-20T19:20:30+01:00; // The date of the session to find. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// List the sessions available for a specific event
[apiInstance sessionreglistsessionsWith:token
    eventid:eventid
    sessiondate:sessiondate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The event id to list sessions.
var opts = {
  'sessiondate': 2013-10-20T19:20:30+01:00 // {Date} The date of the session to find.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionreglistsessions(token, eventid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionreglistsessionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var eventid = new UUID(); // UUID | The event id to list sessions. (default to null)
            var sessiondate = 2013-10-20T19:20:30+01:00;  // Date | The date of the session to find. (optional)  (default to null)

            try
            {
                // List the sessions available for a specific event
                apiInstance.sessionreglistsessions(token, eventid, sessiondate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionreglistsessions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The event id to list sessions.
$sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date of the session to find.

try {
    $api_instance->sessionreglistsessions($token, $eventid, $sessiondate);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionreglistsessions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The event id to list sessions.
my $sessiondate = 2013-10-20T19:20:30+01:00; # Date | The date of the session to find.

eval { 
    $api_instance->sessionreglistsessions(token => $token, eventid => $eventid, sessiondate => $sessiondate);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionreglistsessions: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The event id to list sessions. (default to null)
sessiondate = 2013-10-20T19:20:30+01:00 # Date | The date of the session to find. (optional) (default to null)

try: 
    # List the sessions available for a specific event
    api_instance.sessionreglistsessions(token, eventid, sessiondate=sessiondate)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionreglistsessions: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let sessiondate = 2013-10-20T19:20:30+01:00; // Date

    let mut context = DefaultApi::Context::default();
    let result = client.sessionreglistsessions(token, eventid, sessiondate, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
eventid*
UUID (uuid)
The event id to list sessions.
Required
sessiondate
Date (date-time)
The date of the session to find.

Responses


sessionreglistupcoming

View a list of upcoming event sessions

Allows the user to view the full list of upcoming events.


/sessionreglistupcoming

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionreglistupcoming?token=&date="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date date = 2013-10-20T19:20:30+01:00; // Date | Only sessions in the week of the specified date will be returned.
        try {
            apiInstance.sessionreglistupcoming(token, date);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionreglistupcoming");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date date = 2013-10-20T19:20:30+01:00; // Date | Only sessions in the week of the specified date will be returned.
        try {
            apiInstance.sessionreglistupcoming(token, date);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionreglistupcoming");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Date *date = 2013-10-20T19:20:30+01:00; // Only sessions in the week of the specified date will be returned. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of upcoming event sessions
[apiInstance sessionreglistupcomingWith:token
    date:date
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var date = 2013-10-20T19:20:30+01:00; // {Date} Only sessions in the week of the specified date will be returned.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionreglistupcoming(token, date, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionreglistupcomingExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var date = 2013-10-20T19:20:30+01:00;  // Date | Only sessions in the week of the specified date will be returned. (default to null)

            try
            {
                // View a list of upcoming event sessions
                apiInstance.sessionreglistupcoming(token, date);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionreglistupcoming: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$date = 2013-10-20T19:20:30+01:00; // Date | Only sessions in the week of the specified date will be returned.

try {
    $api_instance->sessionreglistupcoming($token, $date);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionreglistupcoming: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $date = 2013-10-20T19:20:30+01:00; # Date | Only sessions in the week of the specified date will be returned.

eval { 
    $api_instance->sessionreglistupcoming(token => $token, date => $date);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionreglistupcoming: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
date = 2013-10-20T19:20:30+01:00 # Date | Only sessions in the week of the specified date will be returned. (default to null)

try: 
    # View a list of upcoming event sessions
    api_instance.sessionreglistupcoming(token, date)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionreglistupcoming: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let date = 2013-10-20T19:20:30+01:00; // Date

    let mut context = DefaultApi::Context::default();
    let result = client.sessionreglistupcoming(token, date, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
date*
Date (date-time)
Only sessions in the week of the specified date will be returned.
Required

Responses


sessionreglistupcomingevent

View a list of upcoming sessions of a particular event

Allows the user to view the upcoming recurring sessions of a specified event.


/sessionreglistupcomingevent

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionreglistupcomingevent?token=&date=&event="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date date = 2013-10-20T19:20:30+01:00; // Date | Start date to filter the returned sessions.
        UUID event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event whose sessions will be returned
        try {
            apiInstance.sessionreglistupcomingevent(token, date, event);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionreglistupcomingevent");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Date date = 2013-10-20T19:20:30+01:00; // Date | Start date to filter the returned sessions.
        UUID event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event whose sessions will be returned
        try {
            apiInstance.sessionreglistupcomingevent(token, date, event);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionreglistupcomingevent");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Date *date = 2013-10-20T19:20:30+01:00; // Start date to filter the returned sessions. (default to null)
UUID *event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event whose sessions will be returned (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of upcoming sessions of a particular event
[apiInstance sessionreglistupcomingeventWith:token
    date:date
    event:event
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var date = 2013-10-20T19:20:30+01:00; // {Date} Start date to filter the returned sessions.
var event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the event whose sessions will be returned

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionreglistupcomingevent(token, date, event, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionreglistupcomingeventExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var date = 2013-10-20T19:20:30+01:00;  // Date | Start date to filter the returned sessions. (default to null)
            var event = new UUID(); // UUID | The id of the event whose sessions will be returned (default to null)

            try
            {
                // View a list of upcoming sessions of a particular event
                apiInstance.sessionreglistupcomingevent(token, date, event);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionreglistupcomingevent: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$date = 2013-10-20T19:20:30+01:00; // Date | Start date to filter the returned sessions.
$event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event whose sessions will be returned

try {
    $api_instance->sessionreglistupcomingevent($token, $date, $event);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionreglistupcomingevent: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $date = 2013-10-20T19:20:30+01:00; # Date | Start date to filter the returned sessions.
my $event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event whose sessions will be returned

eval { 
    $api_instance->sessionreglistupcomingevent(token => $token, date => $date, event => $event);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionreglistupcomingevent: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
date = 2013-10-20T19:20:30+01:00 # Date | Start date to filter the returned sessions. (default to null)
event = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event whose sessions will be returned (default to null)

try: 
    # View a list of upcoming sessions of a particular event
    api_instance.sessionreglistupcomingevent(token, date, event)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionreglistupcomingevent: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let date = 2013-10-20T19:20:30+01:00; // Date
    let event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.sessionreglistupcomingevent(token, date, event, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
date*
Date (date-time)
Start date to filter the returned sessions.
Required
event*
UUID (uuid)
The id of the event whose sessions will be returned
Required

Responses


sessionregremovecurrentuser

Unregister current user from an event session

Allows the user to un-register themselves from an event.


/sessionregremovecurrentuser

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionregremovecurrentuser?token=&eventid=&sessiondate="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
        Date sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date and time when the session starts.
        try {
            apiInstance.sessionregremovecurrentuser(token, eventid, sessiondate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionregremovecurrentuser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
        Date sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date and time when the session starts.
        try {
            apiInstance.sessionregremovecurrentuser(token, eventid, sessiondate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionregremovecurrentuser");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event. (default to null)
Date *sessiondate = 2013-10-20T19:20:30+01:00; // The date and time when the session starts. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Unregister current user from an event session
[apiInstance sessionregremovecurrentuserWith:token
    eventid:eventid
    sessiondate:sessiondate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the event.
var sessiondate = 2013-10-20T19:20:30+01:00; // {Date} The date and time when the session starts.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionregremovecurrentuser(token, eventid, sessiondate, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionregremovecurrentuserExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var eventid = new UUID(); // UUID | The id of the event. (default to null)
            var sessiondate = 2013-10-20T19:20:30+01:00;  // Date | The date and time when the session starts. (default to null)

            try
            {
                // Unregister current user from an event session
                apiInstance.sessionregremovecurrentuser(token, eventid, sessiondate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionregremovecurrentuser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
$sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date and time when the session starts.

try {
    $api_instance->sessionregremovecurrentuser($token, $eventid, $sessiondate);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionregremovecurrentuser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event.
my $sessiondate = 2013-10-20T19:20:30+01:00; # Date | The date and time when the session starts.

eval { 
    $api_instance->sessionregremovecurrentuser(token => $token, eventid => $eventid, sessiondate => $sessiondate);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionregremovecurrentuser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event. (default to null)
sessiondate = 2013-10-20T19:20:30+01:00 # Date | The date and time when the session starts. (default to null)

try: 
    # Unregister current user from an event session
    api_instance.sessionregremovecurrentuser(token, eventid, sessiondate)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionregremovecurrentuser: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let sessiondate = 2013-10-20T19:20:30+01:00; // Date

    let mut context = DefaultApi::Context::default();
    let result = client.sessionregremovecurrentuser(token, eventid, sessiondate, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
eventid*
UUID (uuid)
The id of the event.
Required
sessiondate*
Date (date-time)
The date and time when the session starts.
Required

Responses


sessionregremoveuser

Removes a user from an event session

Allows the user to un-register another user from an event.


/sessionregremoveuser

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionregremoveuser?token=&userid=&eventid=&sessiondate="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
        Date sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date and time when the session starts.
        try {
            apiInstance.sessionregremoveuser(token, userid, eventid, sessiondate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionregremoveuser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
        Date sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date and time when the session starts.
        try {
            apiInstance.sessionregremoveuser(token, userid, eventid, sessiondate);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionregremoveuser");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to remove. (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event. (default to null)
Date *sessiondate = 2013-10-20T19:20:30+01:00; // The date and time when the session starts. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Removes a user from an event session
[apiInstance sessionregremoveuserWith:token
    userid:userid
    eventid:eventid
    sessiondate:sessiondate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to remove.
var eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the event.
var sessiondate = 2013-10-20T19:20:30+01:00; // {Date} The date and time when the session starts.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionregremoveuser(token, userid, eventid, sessiondate, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionregremoveuserExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to remove. (default to null)
            var eventid = new UUID(); // UUID | The id of the event. (default to null)
            var sessiondate = 2013-10-20T19:20:30+01:00;  // Date | The date and time when the session starts. (default to null)

            try
            {
                // Removes a user from an event session
                apiInstance.sessionregremoveuser(token, userid, eventid, sessiondate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionregremoveuser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event.
$sessiondate = 2013-10-20T19:20:30+01:00; // Date | The date and time when the session starts.

try {
    $api_instance->sessionregremoveuser($token, $userid, $eventid, $sessiondate);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionregremoveuser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to remove.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event.
my $sessiondate = 2013-10-20T19:20:30+01:00; # Date | The date and time when the session starts.

eval { 
    $api_instance->sessionregremoveuser(token => $token, userid => $userid, eventid => $eventid, sessiondate => $sessiondate);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionregremoveuser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to remove. (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event. (default to null)
sessiondate = 2013-10-20T19:20:30+01:00 # Date | The date and time when the session starts. (default to null)

try: 
    # Removes a user from an event session
    api_instance.sessionregremoveuser(token, userid, eventid, sessiondate)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionregremoveuser: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let sessiondate = 2013-10-20T19:20:30+01:00; // Date

    let mut context = DefaultApi::Context::default();
    let result = client.sessionregremoveuser(token, userid, eventid, sessiondate, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to remove.
Required
eventid*
UUID (uuid)
The id of the event.
Required
sessiondate*
Date (date-time)
The date and time when the session starts.
Required

Responses


sessionregsavesettings

Save the settings for an event's session registration

Allows the user to save the settings for an event.


/sessionregsavesettings

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/sessionregsavesettings"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.sessionregsavesettings(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionregsavesettings");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.sessionregsavesettings(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionregsavesettings");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Save the settings for an event's session registration
[apiInstance sessionregsavesettingsWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionregsavesettings(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionregsavesettingsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Save the settings for an event's session registration
                apiInstance.sessionregsavesettings(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionregsavesettings: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->sessionregsavesettings($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionregsavesettings: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->sessionregsavesettings(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionregsavesettings: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Save the settings for an event's session registration
    api_instance.sessionregsavesettings(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionregsavesettings: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.sessionregsavesettings(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


sessionswipedelete

Delete a session swipe

Allows the user to delete an existing class attendance swipe.


/sessionswipedelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionswipedelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the session swipe to delete.
        try {
            apiInstance.sessionswipedelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionswipedelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the session swipe to delete.
        try {
            apiInstance.sessionswipedelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionswipedelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the session swipe to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a session swipe
[apiInstance sessionswipedeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the session swipe to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionswipedelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionswipedeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the session swipe to delete. (default to null)

            try
            {
                // Delete a session swipe
                apiInstance.sessionswipedelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionswipedelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the session swipe to delete.

try {
    $api_instance->sessionswipedelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionswipedelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the session swipe to delete.

eval { 
    $api_instance->sessionswipedelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionswipedelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the session swipe to delete. (default to null)

try: 
    # Delete a session swipe
    api_instance.sessionswipedelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionswipedelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.sessionswipedelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the session swipe to delete.
Required

Responses


sessionswipeget

View details of a class attendance swipe

Allows the user to view an individual class attendance swipe.


/sessionswipeget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionswipeget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the swipe to get.
        try {
            apiInstance.sessionswipeget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionswipeget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the swipe to get.
        try {
            apiInstance.sessionswipeget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionswipeget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the swipe to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a class attendance swipe
[apiInstance sessionswipegetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the swipe to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionswipeget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionswipegetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the swipe to get. (default to null)

            try
            {
                // View details of a class attendance swipe
                apiInstance.sessionswipeget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionswipeget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the swipe to get.

try {
    $api_instance->sessionswipeget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionswipeget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the swipe to get.

eval { 
    $api_instance->sessionswipeget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionswipeget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the swipe to get. (default to null)

try: 
    # View details of a class attendance swipe
    api_instance.sessionswipeget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionswipeget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.sessionswipeget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the swipe to get.
Required

Responses


sessionswipelistunresolved

View a list of unresolved swipes

Allows the user to view all unresolved swipes.


/sessionswipelistunresolved

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionswipelistunresolved?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.sessionswipelistunresolved(from, count, token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionswipelistunresolved");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.sessionswipelistunresolved(from, count, token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionswipelistunresolved");
            e.printStackTrace();
        }
    }
}
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
String *token = token_example; // The authentication token. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of unresolved swipes
[apiInstance sessionswipelistunresolvedWith:from
    count:count
    token:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'token': token_example // {String} The authentication token.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionswipelistunresolved(from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionswipelistunresolvedExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var token = token_example;  // String | The authentication token. (optional)  (default to null)

            try
            {
                // View a list of unresolved swipes
                apiInstance.sessionswipelistunresolved(from, count, token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionswipelistunresolved: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$token = token_example; // String | The authentication token.

try {
    $api_instance->sessionswipelistunresolved($from, $count, $token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionswipelistunresolved: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->sessionswipelistunresolved(from => $from, count => $count, token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionswipelistunresolved: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
token = token_example # String | The authentication token. (optional) (default to null)

try: 
    # View a list of unresolved swipes
    api_instance.sessionswipelistunresolved(from, count, token=token)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionswipelistunresolved: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let from = 56; // Integer
    let count = 56; // Integer
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.sessionswipelistunresolved(from, count, token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token
String
The authentication token.
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


sessionswiperesolve

Resolve a swipe and create the corresponding attendance log

Allows the user to resolve an unresolved swipe, which would result in the creation of an attendance log.


/sessionswiperesolve

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/sessionswiperesolve?token=&id=&session=&user="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the swipe to resolve.
        UUID session = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the session whose swipe has to be saved.
        UUID user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user who signed-in.
        try {
            apiInstance.sessionswiperesolve(token, id, session, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionswiperesolve");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the swipe to resolve.
        UUID session = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the session whose swipe has to be saved.
        UUID user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user who signed-in.
        try {
            apiInstance.sessionswiperesolve(token, id, session, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionswiperesolve");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the swipe to resolve. (default to null)
UUID *session = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the session whose swipe has to be saved. (optional) (default to null)
UUID *user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user who signed-in. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Resolve a swipe and create the corresponding attendance log
[apiInstance sessionswiperesolveWith:token
    id:id
    session:session
    user:user
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the swipe to resolve.
var opts = {
  'session': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the session whose swipe has to be saved.
  'user': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} The id of the user who signed-in.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionswiperesolve(token, id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionswiperesolveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the swipe to resolve. (default to null)
            var session = new UUID(); // UUID | The id of the session whose swipe has to be saved. (optional)  (default to null)
            var user = new UUID(); // UUID | The id of the user who signed-in. (optional)  (default to null)

            try
            {
                // Resolve a swipe and create the corresponding attendance log
                apiInstance.sessionswiperesolve(token, id, session, user);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionswiperesolve: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the swipe to resolve.
$session = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the session whose swipe has to be saved.
$user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user who signed-in.

try {
    $api_instance->sessionswiperesolve($token, $id, $session, $user);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionswiperesolve: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the swipe to resolve.
my $session = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the session whose swipe has to be saved.
my $user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user who signed-in.

eval { 
    $api_instance->sessionswiperesolve(token => $token, id => $id, session => $session, user => $user);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionswiperesolve: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the swipe to resolve. (default to null)
session = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the session whose swipe has to be saved. (optional) (default to null)
user = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user who signed-in. (optional) (default to null)

try: 
    # Resolve a swipe and create the corresponding attendance log
    api_instance.sessionswiperesolve(token, id, session=session, user=user)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionswiperesolve: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let session = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.sessionswiperesolve(token, id, session, user, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the swipe to resolve.
Required
session
UUID (uuid)
The id of the session whose swipe has to be saved.
user
UUID (uuid)
The id of the user who signed-in.

Responses


sessionswipesave

Creates a new swipe, and if possible, creates the attendance log

Allows the user to create a new swipe, which would usually result in an attendance log.


/sessionswipesave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/sessionswipesave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.sessionswipesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionswipesave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.sessionswipesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionswipesave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Creates a new swipe, and if possible, creates the attendance log
[apiInstance sessionswipesaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionswipesave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionswipesaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Creates a new swipe, and if possible, creates the attendance log
                apiInstance.sessionswipesave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionswipesave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->sessionswipesave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionswipesave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->sessionswipesave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionswipesave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Creates a new swipe, and if possible, creates the attendance log
    api_instance.sessionswipesave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionswipesave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.sessionswipesave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


sessionswipesaveanonym

Creates a new swipe from a sign-in station, and if possible, creates the attendance log


/sessionswipesaveanonym

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/sessionswipesaveanonym"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.sessionswipesaveanonym(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionswipesaveanonym");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.sessionswipesaveanonym(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sessionswipesaveanonym");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Creates a new swipe from a sign-in station, and if possible, creates the attendance log
[apiInstance sessionswipesaveanonymWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.sessionswipesaveanonym(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class sessionswipesaveanonymExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Creates a new swipe from a sign-in station, and if possible, creates the attendance log
                apiInstance.sessionswipesaveanonym(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.sessionswipesaveanonym: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->sessionswipesaveanonym($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sessionswipesaveanonym: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->sessionswipesaveanonym(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->sessionswipesaveanonym: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Creates a new swipe from a sign-in station, and if possible, creates the attendance log
    api_instance.sessionswipesaveanonym(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->sessionswipesaveanonym: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.sessionswipesaveanonym(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses



settingget

Get settings for the account or the specified scope


/settingget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/settingget?token=&domain=&keys=&scope="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String keys = keys_example; // String | The option keys to get values for. Enter multiple separated by comma.
        String token = token_example; // String | The authentication token.
        String domain = domain_example; // String | The account domain, in case of reading settings annonymously.
        String scope = scope_example; // String | The scope of the settings to get.
        try {
            apiInstance.settingget(keys, token, domain, scope);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#settingget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String keys = keys_example; // String | The option keys to get values for. Enter multiple separated by comma.
        String token = token_example; // String | The authentication token.
        String domain = domain_example; // String | The account domain, in case of reading settings annonymously.
        String scope = scope_example; // String | The scope of the settings to get.
        try {
            apiInstance.settingget(keys, token, domain, scope);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#settingget");
            e.printStackTrace();
        }
    }
}
String *keys = keys_example; // The option keys to get values for. Enter multiple separated by comma. (default to null)
String *token = token_example; // The authentication token. (optional) (default to null)
String *domain = domain_example; // The account domain, in case of reading settings annonymously. (optional) (default to null)
String *scope = scope_example; // The scope of the settings to get. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get settings for the account or the specified scope
[apiInstance settinggetWith:keys
    token:token
    domain:domain
    scope:scope
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var keys = keys_example; // {String} The option keys to get values for. Enter multiple separated by comma.
var opts = {
  'token': token_example, // {String} The authentication token.
  'domain': domain_example, // {String} The account domain, in case of reading settings annonymously.
  'scope': scope_example // {String} The scope of the settings to get.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.settingget(keys, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class settinggetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var keys = keys_example;  // String | The option keys to get values for. Enter multiple separated by comma. (default to null)
            var token = token_example;  // String | The authentication token. (optional)  (default to null)
            var domain = domain_example;  // String | The account domain, in case of reading settings annonymously. (optional)  (default to null)
            var scope = scope_example;  // String | The scope of the settings to get. (optional)  (default to null)

            try
            {
                // Get settings for the account or the specified scope
                apiInstance.settingget(keys, token, domain, scope);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.settingget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$keys = keys_example; // String | The option keys to get values for. Enter multiple separated by comma.
$token = token_example; // String | The authentication token.
$domain = domain_example; // String | The account domain, in case of reading settings annonymously.
$scope = scope_example; // String | The scope of the settings to get.

try {
    $api_instance->settingget($keys, $token, $domain, $scope);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->settingget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $keys = keys_example; # String | The option keys to get values for. Enter multiple separated by comma.
my $token = token_example; # String | The authentication token.
my $domain = domain_example; # String | The account domain, in case of reading settings annonymously.
my $scope = scope_example; # String | The scope of the settings to get.

eval { 
    $api_instance->settingget(keys => $keys, token => $token, domain => $domain, scope => $scope);
};
if ($@) {
    warn "Exception when calling DefaultApi->settingget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
keys = keys_example # String | The option keys to get values for. Enter multiple separated by comma. (default to null)
token = token_example # String | The authentication token. (optional) (default to null)
domain = domain_example # String | The account domain, in case of reading settings annonymously. (optional) (default to null)
scope = scope_example # String | The scope of the settings to get. (optional) (default to null)

try: 
    # Get settings for the account or the specified scope
    api_instance.settingget(keys, token=token, domain=domain, scope=scope)
except ApiException as e:
    print("Exception when calling DefaultApi->settingget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let keys = keys_example; // String
    let token = token_example; // String
    let domain = domain_example; // String
    let scope = scope_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.settingget(keys, token, domain, scope, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token
String
The authentication token.
domain
String
The account domain, in case of reading settings annonymously.
keys*
String
The option keys to get values for. Enter multiple separated by comma.
Required
scope
String
The scope of the settings to get.

Responses


settingsave

Save settings for the account or the specified scope

Allows the user to affect settings that are not specified elsewhere in permissions. This includes Attendance, Appointments, Compass, Media, and Social Activity.


/settingsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/settingsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.settingsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#settingsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.settingsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#settingsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Save settings for the account or the specified scope
[apiInstance settingsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.settingsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class settingsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Save settings for the account or the specified scope
                apiInstance.settingsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.settingsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->settingsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->settingsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->settingsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->settingsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Save settings for the account or the specified scope
    api_instance.settingsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->settingsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.settingsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


settingviewgeneral

View general settings for the account

Allows the user to view the settings' general section.


/settingviewgeneral

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/settingviewgeneral?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.settingviewgeneral(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#settingviewgeneral");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.settingviewgeneral(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#settingviewgeneral");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View general settings for the account
[apiInstance settingviewgeneralWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.settingviewgeneral(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class settingviewgeneralExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View general settings for the account
                apiInstance.settingviewgeneral(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.settingviewgeneral: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->settingviewgeneral($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->settingviewgeneral: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->settingviewgeneral(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->settingviewgeneral: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View general settings for the account
    api_instance.settingviewgeneral(token)
except ApiException as e:
    print("Exception when calling DefaultApi->settingviewgeneral: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.settingviewgeneral(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


socialcontacts

Gets the list of contacts in the network


/socialcontacts

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/socialcontacts?token=&filter=&showdefaultphoto="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String filter = filter_example; // String | Text to filter results.
        Boolean showdefaultphoto = true; // Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.
        try {
            apiInstance.socialcontacts(token, filter, showdefaultphoto);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#socialcontacts");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String filter = filter_example; // String | Text to filter results.
        Boolean showdefaultphoto = true; // Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.
        try {
            apiInstance.socialcontacts(token, filter, showdefaultphoto);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#socialcontacts");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *filter = filter_example; // Text to filter results. (optional) (default to null)
Boolean *showdefaultphoto = true; // If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the list of contacts in the network
[apiInstance socialcontactsWith:token
    filter:filter
    showdefaultphoto:showdefaultphoto
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'filter': filter_example, // {String} Text to filter results.
  'showdefaultphoto': true // {Boolean} If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.socialcontacts(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class socialcontactsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var filter = filter_example;  // String | Text to filter results. (optional)  (default to null)
            var showdefaultphoto = true;  // Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned. (optional)  (default to null)

            try
            {
                // Gets the list of contacts in the network
                apiInstance.socialcontacts(token, filter, showdefaultphoto);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.socialcontacts: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$filter = filter_example; // String | Text to filter results.
$showdefaultphoto = true; // Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.

try {
    $api_instance->socialcontacts($token, $filter, $showdefaultphoto);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->socialcontacts: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $filter = filter_example; # String | Text to filter results.
my $showdefaultphoto = true; # Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.

eval { 
    $api_instance->socialcontacts(token => $token, filter => $filter, showdefaultphoto => $showdefaultphoto);
};
if ($@) {
    warn "Exception when calling DefaultApi->socialcontacts: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
filter = filter_example # String | Text to filter results. (optional) (default to null)
showdefaultphoto = true # Boolean | If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned. (optional) (default to null)

try: 
    # Gets the list of contacts in the network
    api_instance.socialcontacts(token, filter=filter, showdefaultphoto=showdefaultphoto)
except ApiException as e:
    print("Exception when calling DefaultApi->socialcontacts: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let filter = filter_example; // String
    let showdefaultphoto = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.socialcontacts(token, filter, showdefaultphoto, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
filter
String
Text to filter results.
showdefaultphoto
Boolean
If true, a default photo will be returned in case the user does not have a photo. Otherwise, no photo will be returned.

Responses


socialgroupaddmembers

Adds new members to a group (which the user must own already)


/socialgroupaddmembers

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/socialgroupaddmembers?token=&id=&userids="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the group to add members to.
        String userids = userids_example; // String | Csv list of user Ids to add.
        try {
            apiInstance.socialgroupaddmembers(token, id, userids);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#socialgroupaddmembers");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the group to add members to.
        String userids = userids_example; // String | Csv list of user Ids to add.
        try {
            apiInstance.socialgroupaddmembers(token, id, userids);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#socialgroupaddmembers");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // ID of the group to add members to. (default to null)
String *userids = userids_example; // Csv list of user Ids to add. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Adds new members to a group (which the user must own already)
[apiInstance socialgroupaddmembersWith:token
    id:id
    userids:userids
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} ID of the group to add members to.
var userids = userids_example; // {String} Csv list of user Ids to add.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.socialgroupaddmembers(token, id, userids, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class socialgroupaddmembersExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | ID of the group to add members to. (default to null)
            var userids = userids_example;  // String | Csv list of user Ids to add. (default to null)

            try
            {
                // Adds new members to a group (which the user must own already)
                apiInstance.socialgroupaddmembers(token, id, userids);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.socialgroupaddmembers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the group to add members to.
$userids = userids_example; // String | Csv list of user Ids to add.

try {
    $api_instance->socialgroupaddmembers($token, $id, $userids);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->socialgroupaddmembers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | ID of the group to add members to.
my $userids = userids_example; # String | Csv list of user Ids to add.

eval { 
    $api_instance->socialgroupaddmembers(token => $token, id => $id, userids => $userids);
};
if ($@) {
    warn "Exception when calling DefaultApi->socialgroupaddmembers: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | ID of the group to add members to. (default to null)
userids = userids_example # String | Csv list of user Ids to add. (default to null)

try: 
    # Adds new members to a group (which the user must own already)
    api_instance.socialgroupaddmembers(token, id, userids)
except ApiException as e:
    print("Exception when calling DefaultApi->socialgroupaddmembers: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let userids = userids_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.socialgroupaddmembers(token, id, userids, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
ID of the group to add members to.
Required
userids*
String
Csv list of user Ids to add.
Required

Responses


socialgroupdelete

Deletes a group


/socialgroupdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/socialgroupdelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the group to delete.
        try {
            apiInstance.socialgroupdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#socialgroupdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the group to delete.
        try {
            apiInstance.socialgroupdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#socialgroupdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // ID of the group to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Deletes a group
[apiInstance socialgroupdeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} ID of the group to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.socialgroupdelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class socialgroupdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | ID of the group to delete. (default to null)

            try
            {
                // Deletes a group
                apiInstance.socialgroupdelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.socialgroupdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the group to delete.

try {
    $api_instance->socialgroupdelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->socialgroupdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | ID of the group to delete.

eval { 
    $api_instance->socialgroupdelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->socialgroupdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | ID of the group to delete. (default to null)

try: 
    # Deletes a group
    api_instance.socialgroupdelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->socialgroupdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.socialgroupdelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
ID of the group to delete.
Required

Responses


socialgrouplist

View all the groups the current user is in


/socialgrouplist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/socialgrouplist?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.socialgrouplist(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#socialgrouplist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.socialgrouplist(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#socialgrouplist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View all the groups the current user is in
[apiInstance socialgrouplistWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.socialgrouplist(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class socialgrouplistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View all the groups the current user is in
                apiInstance.socialgrouplist(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.socialgrouplist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->socialgrouplist($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->socialgrouplist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->socialgrouplist(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->socialgrouplist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View all the groups the current user is in
    api_instance.socialgrouplist(token)
except ApiException as e:
    print("Exception when calling DefaultApi->socialgrouplist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.socialgrouplist(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


socialgrouplistmembers

Lists the members of a group


/socialgrouplistmembers

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/socialgrouplistmembers?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the group to list members.
        try {
            apiInstance.socialgrouplistmembers(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#socialgrouplistmembers");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the group to list members.
        try {
            apiInstance.socialgrouplistmembers(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#socialgrouplistmembers");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // ID of the group to list members. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists the members of a group
[apiInstance socialgrouplistmembersWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} ID of the group to list members.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.socialgrouplistmembers(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class socialgrouplistmembersExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | ID of the group to list members. (default to null)

            try
            {
                // Lists the members of a group
                apiInstance.socialgrouplistmembers(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.socialgrouplistmembers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the group to list members.

try {
    $api_instance->socialgrouplistmembers($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->socialgrouplistmembers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | ID of the group to list members.

eval { 
    $api_instance->socialgrouplistmembers(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->socialgrouplistmembers: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | ID of the group to list members. (default to null)

try: 
    # Lists the members of a group
    api_instance.socialgrouplistmembers(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->socialgrouplistmembers: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.socialgrouplistmembers(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
ID of the group to list members.
Required

Responses


socialgroupremovemembers

Removes members from a group (which the user must own already)


/socialgroupremovemembers

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/socialgroupremovemembers?token=&id=&userids="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the group to remove members from.
        String userids = userids_example; // String | Csv list of user Ids to remove.
        try {
            apiInstance.socialgroupremovemembers(token, id, userids);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#socialgroupremovemembers");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the group to remove members from.
        String userids = userids_example; // String | Csv list of user Ids to remove.
        try {
            apiInstance.socialgroupremovemembers(token, id, userids);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#socialgroupremovemembers");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // ID of the group to remove members from. (default to null)
String *userids = userids_example; // Csv list of user Ids to remove. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Removes members from a group (which the user must own already)
[apiInstance socialgroupremovemembersWith:token
    id:id
    userids:userids
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} ID of the group to remove members from.
var userids = userids_example; // {String} Csv list of user Ids to remove.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.socialgroupremovemembers(token, id, userids, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class socialgroupremovemembersExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | ID of the group to remove members from. (default to null)
            var userids = userids_example;  // String | Csv list of user Ids to remove. (default to null)

            try
            {
                // Removes members from a group (which the user must own already)
                apiInstance.socialgroupremovemembers(token, id, userids);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.socialgroupremovemembers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the group to remove members from.
$userids = userids_example; // String | Csv list of user Ids to remove.

try {
    $api_instance->socialgroupremovemembers($token, $id, $userids);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->socialgroupremovemembers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | ID of the group to remove members from.
my $userids = userids_example; # String | Csv list of user Ids to remove.

eval { 
    $api_instance->socialgroupremovemembers(token => $token, id => $id, userids => $userids);
};
if ($@) {
    warn "Exception when calling DefaultApi->socialgroupremovemembers: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | ID of the group to remove members from. (default to null)
userids = userids_example # String | Csv list of user Ids to remove. (default to null)

try: 
    # Removes members from a group (which the user must own already)
    api_instance.socialgroupremovemembers(token, id, userids)
except ApiException as e:
    print("Exception when calling DefaultApi->socialgroupremovemembers: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let userids = userids_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.socialgroupremovemembers(token, id, userids, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
ID of the group to remove members from.
Required
userids*
String
Csv list of user Ids to remove.
Required

Responses


socialgroupremovemyself

Removes myself from an existent group


/socialgroupremovemyself

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/socialgroupremovemyself?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the group to remove me from.
        try {
            apiInstance.socialgroupremovemyself(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#socialgroupremovemyself");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the group to remove me from.
        try {
            apiInstance.socialgroupremovemyself(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#socialgroupremovemyself");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // ID of the group to remove me from. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Removes myself from an existent group
[apiInstance socialgroupremovemyselfWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} ID of the group to remove me from.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.socialgroupremovemyself(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class socialgroupremovemyselfExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | ID of the group to remove me from. (default to null)

            try
            {
                // Removes myself from an existent group
                apiInstance.socialgroupremovemyself(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.socialgroupremovemyself: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the group to remove me from.

try {
    $api_instance->socialgroupremovemyself($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->socialgroupremovemyself: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | ID of the group to remove me from.

eval { 
    $api_instance->socialgroupremovemyself(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->socialgroupremovemyself: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | ID of the group to remove me from. (default to null)

try: 
    # Removes myself from an existent group
    api_instance.socialgroupremovemyself(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->socialgroupremovemyself: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.socialgroupremovemyself(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
ID of the group to remove me from.
Required

Responses


socialgroupsave

Saves a new group


/socialgroupsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/socialgroupsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.socialgroupsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#socialgroupsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.socialgroupsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#socialgroupsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Saves a new group
[apiInstance socialgroupsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.socialgroupsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class socialgroupsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Saves a new group
                apiInstance.socialgroupsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.socialgroupsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->socialgroupsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->socialgroupsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->socialgroupsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->socialgroupsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Saves a new group
    api_instance.socialgroupsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->socialgroupsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.socialgroupsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


ssogeneratekey

Generate/reset single sign on access key.

Allows the user to generate or reset the access key for single sign-on.


/ssogeneratekey

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/ssogeneratekey?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.ssogeneratekey(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ssogeneratekey");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.ssogeneratekey(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ssogeneratekey");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Generate/reset single sign on access key.
[apiInstance ssogeneratekeyWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ssogeneratekey(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class ssogeneratekeyExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Generate/reset single sign on access key.
                apiInstance.ssogeneratekey(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ssogeneratekey: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->ssogeneratekey($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ssogeneratekey: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->ssogeneratekey(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->ssogeneratekey: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Generate/reset single sign on access key.
    api_instance.ssogeneratekey(token)
except ApiException as e:
    print("Exception when calling DefaultApi->ssogeneratekey: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.ssogeneratekey(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


ssogetsettings

View single sign on settings.

Allows the user to view settings for single sign-on.


/ssogetsettings

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/ssogetsettings?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.ssogetsettings(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ssogetsettings");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.ssogetsettings(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ssogetsettings");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View single sign on settings.
[apiInstance ssogetsettingsWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ssogetsettings(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class ssogetsettingsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View single sign on settings.
                apiInstance.ssogetsettings(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ssogetsettings: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->ssogetsettings($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ssogetsettings: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->ssogetsettings(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->ssogetsettings: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View single sign on settings.
    api_instance.ssogetsettings(token)
except ApiException as e:
    print("Exception when calling DefaultApi->ssogetsettings: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.ssogetsettings(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


ssoissuetoken

Issue single sign-on token


/ssoissuetoken

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/ssoissuetoken?key=&username=&expires="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String key = key_example; // String | The single sign-on key of the account.
        String username = username_example; // String | The email of the user to sign-on.
        Boolean expires = true; // Boolean | Specifies whether the session should expire when inactive.
        try {
            apiInstance.ssoissuetoken(key, username, expires);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ssoissuetoken");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String key = key_example; // String | The single sign-on key of the account.
        String username = username_example; // String | The email of the user to sign-on.
        Boolean expires = true; // Boolean | Specifies whether the session should expire when inactive.
        try {
            apiInstance.ssoissuetoken(key, username, expires);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ssoissuetoken");
            e.printStackTrace();
        }
    }
}
String *key = key_example; // The single sign-on key of the account. (default to null)
String *username = username_example; // The email of the user to sign-on. (default to null)
Boolean *expires = true; // Specifies whether the session should expire when inactive. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Issue single sign-on token
[apiInstance ssoissuetokenWith:key
    username:username
    expires:expires
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var key = key_example; // {String} The single sign-on key of the account.
var username = username_example; // {String} The email of the user to sign-on.
var opts = {
  'expires': true // {Boolean} Specifies whether the session should expire when inactive.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ssoissuetoken(key, username, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class ssoissuetokenExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var key = key_example;  // String | The single sign-on key of the account. (default to null)
            var username = username_example;  // String | The email of the user to sign-on. (default to null)
            var expires = true;  // Boolean | Specifies whether the session should expire when inactive. (optional)  (default to null)

            try
            {
                // Issue single sign-on token
                apiInstance.ssoissuetoken(key, username, expires);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ssoissuetoken: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$key = key_example; // String | The single sign-on key of the account.
$username = username_example; // String | The email of the user to sign-on.
$expires = true; // Boolean | Specifies whether the session should expire when inactive.

try {
    $api_instance->ssoissuetoken($key, $username, $expires);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ssoissuetoken: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $key = key_example; # String | The single sign-on key of the account.
my $username = username_example; # String | The email of the user to sign-on.
my $expires = true; # Boolean | Specifies whether the session should expire when inactive.

eval { 
    $api_instance->ssoissuetoken(key => $key, username => $username, expires => $expires);
};
if ($@) {
    warn "Exception when calling DefaultApi->ssoissuetoken: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
key = key_example # String | The single sign-on key of the account. (default to null)
username = username_example # String | The email of the user to sign-on. (default to null)
expires = true # Boolean | Specifies whether the session should expire when inactive. (optional) (default to null)

try: 
    # Issue single sign-on token
    api_instance.ssoissuetoken(key, username, expires=expires)
except ApiException as e:
    print("Exception when calling DefaultApi->ssoissuetoken: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let key = key_example; // String
    let username = username_example; // String
    let expires = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.ssoissuetoken(key, username, expires, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
key*
String
The single sign-on key of the account.
Required
username*
String
The email of the user to sign-on.
Required
expires
Boolean
Specifies whether the session should expire when inactive.

Responses


ssosavesettings

Edit single sign-on settings.

Allows the user to edit settings for single sign-on.


/ssosavesettings

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/ssosavesettings"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.ssosavesettings(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ssosavesettings");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.ssosavesettings(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#ssosavesettings");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Edit single sign-on settings.
[apiInstance ssosavesettingsWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.ssosavesettings(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class ssosavesettingsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Edit single sign-on settings.
                apiInstance.ssosavesettings(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.ssosavesettings: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->ssosavesettings($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->ssosavesettings: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->ssosavesettings(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->ssosavesettings: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Edit single sign-on settings.
    api_instance.ssosavesettings(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->ssosavesettings: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.ssosavesettings(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


staffavailaddmetoallservices

Associate current user to all services

Allows the user to associate themselves to all services, provided they have a staff role.


/staffavailaddmetoallservices

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/staffavailaddmetoallservices?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.staffavailaddmetoallservices(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailaddmetoallservices");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.staffavailaddmetoallservices(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailaddmetoallservices");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Associate current user to all services
[apiInstance staffavailaddmetoallservicesWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.staffavailaddmetoallservices(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class staffavailaddmetoallservicesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Associate current user to all services
                apiInstance.staffavailaddmetoallservices(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.staffavailaddmetoallservices: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->staffavailaddmetoallservices($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->staffavailaddmetoallservices: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->staffavailaddmetoallservices(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->staffavailaddmetoallservices: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Associate current user to all services
    api_instance.staffavailaddmetoallservices(token)
except ApiException as e:
    print("Exception when calling DefaultApi->staffavailaddmetoallservices: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.staffavailaddmetoallservices(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


staffavailaddmetoservice

Associate current user to a service

Allows the user to associate themselves to a service, provided they have a staff role.


/staffavailaddmetoservice

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/staffavailaddmetoservice?token=&serviceid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service.
        try {
            apiInstance.staffavailaddmetoservice(token, serviceid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailaddmetoservice");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service.
        try {
            apiInstance.staffavailaddmetoservice(token, serviceid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailaddmetoservice");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the service. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Associate current user to a service
[apiInstance staffavailaddmetoserviceWith:token
    serviceid:serviceid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the service.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.staffavailaddmetoservice(token, serviceid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class staffavailaddmetoserviceExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var serviceid = new UUID(); // UUID | The id of the service. (default to null)

            try
            {
                // Associate current user to a service
                apiInstance.staffavailaddmetoservice(token, serviceid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.staffavailaddmetoservice: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service.

try {
    $api_instance->staffavailaddmetoservice($token, $serviceid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->staffavailaddmetoservice: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the service.

eval { 
    $api_instance->staffavailaddmetoservice(token => $token, serviceid => $serviceid);
};
if ($@) {
    warn "Exception when calling DefaultApi->staffavailaddmetoservice: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the service. (default to null)

try: 
    # Associate current user to a service
    api_instance.staffavailaddmetoservice(token, serviceid)
except ApiException as e:
    print("Exception when calling DefaultApi->staffavailaddmetoservice: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.staffavailaddmetoservice(token, serviceid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
serviceid*
UUID (uuid)
The id of the service.
Required

Responses


staffavailaddusertoallservices

Associate a staff member to all services

Allows the user to make a staff member available for all services.


/staffavailaddusertoallservices

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/staffavailaddusertoallservices?token=&userid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
        try {
            apiInstance.staffavailaddusertoallservices(token, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailaddusertoallservices");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
        try {
            apiInstance.staffavailaddusertoallservices(token, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailaddusertoallservices");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to add. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Associate a staff member to all services
[apiInstance staffavailaddusertoallservicesWith:token
    userid:userid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to add.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.staffavailaddusertoallservices(token, userid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class staffavailaddusertoallservicesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to add. (default to null)

            try
            {
                // Associate a staff member to all services
                apiInstance.staffavailaddusertoallservices(token, userid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.staffavailaddusertoallservices: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.

try {
    $api_instance->staffavailaddusertoallservices($token, $userid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->staffavailaddusertoallservices: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to add.

eval { 
    $api_instance->staffavailaddusertoallservices(token => $token, userid => $userid);
};
if ($@) {
    warn "Exception when calling DefaultApi->staffavailaddusertoallservices: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to add. (default to null)

try: 
    # Associate a staff member to all services
    api_instance.staffavailaddusertoallservices(token, userid)
except ApiException as e:
    print("Exception when calling DefaultApi->staffavailaddusertoallservices: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.staffavailaddusertoallservices(token, userid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to add.
Required

Responses


staffavailaddusertoservice

Associate a staff member to a service

Allows the user to make a staff member available for a service.


/staffavailaddusertoservice

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/staffavailaddusertoservice?token=&userid=&serviceid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service.
        try {
            apiInstance.staffavailaddusertoservice(token, userid, serviceid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailaddusertoservice");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service.
        try {
            apiInstance.staffavailaddusertoservice(token, userid, serviceid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailaddusertoservice");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to add. (default to null)
UUID *serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the service. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Associate a staff member to a service
[apiInstance staffavailaddusertoserviceWith:token
    userid:userid
    serviceid:serviceid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to add.
var serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the service.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.staffavailaddusertoservice(token, userid, serviceid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class staffavailaddusertoserviceExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to add. (default to null)
            var serviceid = new UUID(); // UUID | The id of the service. (default to null)

            try
            {
                // Associate a staff member to a service
                apiInstance.staffavailaddusertoservice(token, userid, serviceid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.staffavailaddusertoservice: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
$serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service.

try {
    $api_instance->staffavailaddusertoservice($token, $userid, $serviceid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->staffavailaddusertoservice: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to add.
my $serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the service.

eval { 
    $api_instance->staffavailaddusertoservice(token => $token, userid => $userid, serviceid => $serviceid);
};
if ($@) {
    warn "Exception when calling DefaultApi->staffavailaddusertoservice: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to add. (default to null)
serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the service. (default to null)

try: 
    # Associate a staff member to a service
    api_instance.staffavailaddusertoservice(token, userid, serviceid)
except ApiException as e:
    print("Exception when calling DefaultApi->staffavailaddusertoservice: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.staffavailaddusertoservice(token, userid, serviceid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to add.
Required
serviceid*
UUID (uuid)
The id of the service.
Required

Responses


staffavailgetmyservices

View the services the current user is available for

Allows the user to view a list of services that they are associated with.


/staffavailgetmyservices

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/staffavailgetmyservices?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.staffavailgetmyservices(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailgetmyservices");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.staffavailgetmyservices(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailgetmyservices");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View the services the current user is available for
[apiInstance staffavailgetmyservicesWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.staffavailgetmyservices(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class staffavailgetmyservicesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View the services the current user is available for
                apiInstance.staffavailgetmyservices(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.staffavailgetmyservices: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->staffavailgetmyservices($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->staffavailgetmyservices: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->staffavailgetmyservices(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->staffavailgetmyservices: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View the services the current user is available for
    api_instance.staffavailgetmyservices(token)
except ApiException as e:
    print("Exception when calling DefaultApi->staffavailgetmyservices: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.staffavailgetmyservices(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


staffavailgetservices

View a list of services that a staff member is available for

Allows the user to view the list of services that a staff member is available for.


/staffavailgetservices

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/staffavailgetservices?token=&userid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id to list services.
        try {
            apiInstance.staffavailgetservices(token, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailgetservices");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id to list services.
        try {
            apiInstance.staffavailgetservices(token, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailgetservices");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The user id to list services. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of services that a staff member is available for
[apiInstance staffavailgetservicesWith:token
    userid:userid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The user id to list services.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.staffavailgetservices(token, userid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class staffavailgetservicesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The user id to list services. (default to null)

            try
            {
                // View a list of services that a staff member is available for
                apiInstance.staffavailgetservices(token, userid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.staffavailgetservices: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id to list services.

try {
    $api_instance->staffavailgetservices($token, $userid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->staffavailgetservices: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The user id to list services.

eval { 
    $api_instance->staffavailgetservices(token => $token, userid => $userid);
};
if ($@) {
    warn "Exception when calling DefaultApi->staffavailgetservices: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The user id to list services. (default to null)

try: 
    # View a list of services that a staff member is available for
    api_instance.staffavailgetservices(token, userid)
except ApiException as e:
    print("Exception when calling DefaultApi->staffavailgetservices: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.staffavailgetservices(token, userid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The user id to list services.
Required

Responses


staffavailgetusersforservice

View a list of staff members that are available for a specific service

Allows the user to view all staff members who are available for a service.


/staffavailgetusersforservice

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/staffavailgetusersforservice?token=&serviceid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The service id to list users.
        try {
            apiInstance.staffavailgetusersforservice(token, serviceid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailgetusersforservice");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The service id to list users.
        try {
            apiInstance.staffavailgetusersforservice(token, serviceid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailgetusersforservice");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The service id to list users. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of staff members that are available for a specific service
[apiInstance staffavailgetusersforserviceWith:token
    serviceid:serviceid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The service id to list users.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.staffavailgetusersforservice(token, serviceid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class staffavailgetusersforserviceExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var serviceid = new UUID(); // UUID | The service id to list users. (default to null)

            try
            {
                // View a list of staff members that are available for a specific service
                apiInstance.staffavailgetusersforservice(token, serviceid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.staffavailgetusersforservice: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The service id to list users.

try {
    $api_instance->staffavailgetusersforservice($token, $serviceid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->staffavailgetusersforservice: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The service id to list users.

eval { 
    $api_instance->staffavailgetusersforservice(token => $token, serviceid => $serviceid);
};
if ($@) {
    warn "Exception when calling DefaultApi->staffavailgetusersforservice: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The service id to list users. (default to null)

try: 
    # View a list of staff members that are available for a specific service
    api_instance.staffavailgetusersforservice(token, serviceid)
except ApiException as e:
    print("Exception when calling DefaultApi->staffavailgetusersforservice: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.staffavailgetusersforservice(token, serviceid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
serviceid*
UUID (uuid)
The service id to list users.
Required

Responses


staffavaillisttypes

View all the availability types


/staffavaillisttypes

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/staffavaillisttypes?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.staffavaillisttypes(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavaillisttypes");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.staffavaillisttypes(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavaillisttypes");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View all the availability types
[apiInstance staffavaillisttypesWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.staffavaillisttypes(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class staffavaillisttypesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View all the availability types
                apiInstance.staffavaillisttypes(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.staffavaillisttypes: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->staffavaillisttypes($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->staffavaillisttypes: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->staffavaillisttypes(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->staffavaillisttypes: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View all the availability types
    api_instance.staffavaillisttypes(token)
except ApiException as e:
    print("Exception when calling DefaultApi->staffavaillisttypes: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.staffavaillisttypes(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


staffavailremovemefromallservices

Remove current user from all services

Allows the user to disassociate themselves from all services, provided they have a staff role.


/staffavailremovemefromallservices

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/staffavailremovemefromallservices?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.staffavailremovemefromallservices(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailremovemefromallservices");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.staffavailremovemefromallservices(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailremovemefromallservices");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Remove current user from all services
[apiInstance staffavailremovemefromallservicesWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.staffavailremovemefromallservices(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class staffavailremovemefromallservicesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Remove current user from all services
                apiInstance.staffavailremovemefromallservices(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.staffavailremovemefromallservices: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->staffavailremovemefromallservices($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->staffavailremovemefromallservices: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->staffavailremovemefromallservices(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->staffavailremovemefromallservices: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Remove current user from all services
    api_instance.staffavailremovemefromallservices(token)
except ApiException as e:
    print("Exception when calling DefaultApi->staffavailremovemefromallservices: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.staffavailremovemefromallservices(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


staffavailremovemefromservice

Remove current user from a service

Allows the user to disassociate themselves from a service, provided they have a staff role.


/staffavailremovemefromservice

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/staffavailremovemefromservice?token=&serviceid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service.
        try {
            apiInstance.staffavailremovemefromservice(token, serviceid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailremovemefromservice");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service.
        try {
            apiInstance.staffavailremovemefromservice(token, serviceid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailremovemefromservice");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the service. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Remove current user from a service
[apiInstance staffavailremovemefromserviceWith:token
    serviceid:serviceid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the service.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.staffavailremovemefromservice(token, serviceid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class staffavailremovemefromserviceExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var serviceid = new UUID(); // UUID | The id of the service. (default to null)

            try
            {
                // Remove current user from a service
                apiInstance.staffavailremovemefromservice(token, serviceid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.staffavailremovemefromservice: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service.

try {
    $api_instance->staffavailremovemefromservice($token, $serviceid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->staffavailremovemefromservice: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the service.

eval { 
    $api_instance->staffavailremovemefromservice(token => $token, serviceid => $serviceid);
};
if ($@) {
    warn "Exception when calling DefaultApi->staffavailremovemefromservice: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the service. (default to null)

try: 
    # Remove current user from a service
    api_instance.staffavailremovemefromservice(token, serviceid)
except ApiException as e:
    print("Exception when calling DefaultApi->staffavailremovemefromservice: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.staffavailremovemefromservice(token, serviceid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
serviceid*
UUID (uuid)
The id of the service.
Required

Responses


staffavailremoveuserfromallservices

Removes a staff member from the registration to all services

Allows the user to remove a staff member's availability to all services.


/staffavailremoveuserfromallservices

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/staffavailremoveuserfromallservices?token=&userid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
        try {
            apiInstance.staffavailremoveuserfromallservices(token, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailremoveuserfromallservices");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
        try {
            apiInstance.staffavailremoveuserfromallservices(token, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailremoveuserfromallservices");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to remove. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Removes a staff member from the registration to all services
[apiInstance staffavailremoveuserfromallservicesWith:token
    userid:userid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to remove.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.staffavailremoveuserfromallservices(token, userid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class staffavailremoveuserfromallservicesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to remove. (default to null)

            try
            {
                // Removes a staff member from the registration to all services
                apiInstance.staffavailremoveuserfromallservices(token, userid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.staffavailremoveuserfromallservices: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.

try {
    $api_instance->staffavailremoveuserfromallservices($token, $userid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->staffavailremoveuserfromallservices: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to remove.

eval { 
    $api_instance->staffavailremoveuserfromallservices(token => $token, userid => $userid);
};
if ($@) {
    warn "Exception when calling DefaultApi->staffavailremoveuserfromallservices: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to remove. (default to null)

try: 
    # Removes a staff member from the registration to all services
    api_instance.staffavailremoveuserfromallservices(token, userid)
except ApiException as e:
    print("Exception when calling DefaultApi->staffavailremoveuserfromallservices: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.staffavailremoveuserfromallservices(token, userid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to remove.
Required

Responses


staffavailremoveuserfromservice

Remove a staff member from a service

Allows the user to remove a staff member's service availability.


/staffavailremoveuserfromservice

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/staffavailremoveuserfromservice?token=&userid=&serviceid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service.
        try {
            apiInstance.staffavailremoveuserfromservice(token, userid, serviceid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailremoveuserfromservice");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
        UUID serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service.
        try {
            apiInstance.staffavailremoveuserfromservice(token, userid, serviceid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailremoveuserfromservice");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to remove. (default to null)
UUID *serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the service. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Remove a staff member from a service
[apiInstance staffavailremoveuserfromserviceWith:token
    userid:userid
    serviceid:serviceid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to remove.
var serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the service.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.staffavailremoveuserfromservice(token, userid, serviceid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class staffavailremoveuserfromserviceExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to remove. (default to null)
            var serviceid = new UUID(); // UUID | The id of the service. (default to null)

            try
            {
                // Remove a staff member from a service
                apiInstance.staffavailremoveuserfromservice(token, userid, serviceid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.staffavailremoveuserfromservice: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
$serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the service.

try {
    $api_instance->staffavailremoveuserfromservice($token, $userid, $serviceid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->staffavailremoveuserfromservice: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to remove.
my $serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the service.

eval { 
    $api_instance->staffavailremoveuserfromservice(token => $token, userid => $userid, serviceid => $serviceid);
};
if ($@) {
    warn "Exception when calling DefaultApi->staffavailremoveuserfromservice: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to remove. (default to null)
serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the service. (default to null)

try: 
    # Remove a staff member from a service
    api_instance.staffavailremoveuserfromservice(token, userid, serviceid)
except ApiException as e:
    print("Exception when calling DefaultApi->staffavailremoveuserfromservice: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let serviceid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.staffavailremoveuserfromservice(token, userid, serviceid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to remove.
Required
serviceid*
UUID (uuid)
The id of the service.
Required

Responses


staffavailsetavailability

Make a staff member available for a specific availability type

Allows the user to set a staff member as available for walk ins, appointments, or both.


/staffavailsetavailability

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/staffavailsetavailability?token=&userid=&availablefor="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user whose specific availability has to be set.
        String availablefor = availablefor_example; // String | Specific availability to set.
        try {
            apiInstance.staffavailsetavailability(token, userid, availablefor);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailsetavailability");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user whose specific availability has to be set.
        String availablefor = availablefor_example; // String | Specific availability to set.
        try {
            apiInstance.staffavailsetavailability(token, userid, availablefor);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailsetavailability");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user whose specific availability has to be set. (default to null)
String *availablefor = availablefor_example; // Specific availability to set. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Make a staff member available for a specific availability type
[apiInstance staffavailsetavailabilityWith:token
    userid:userid
    availablefor:availablefor
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user whose specific availability has to be set.
var opts = {
  'availablefor': availablefor_example // {String} Specific availability to set.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.staffavailsetavailability(token, userid, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class staffavailsetavailabilityExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user whose specific availability has to be set. (default to null)
            var availablefor = availablefor_example;  // String | Specific availability to set. (optional)  (default to null)

            try
            {
                // Make a staff member available for a specific availability type
                apiInstance.staffavailsetavailability(token, userid, availablefor);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.staffavailsetavailability: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user whose specific availability has to be set.
$availablefor = availablefor_example; // String | Specific availability to set.

try {
    $api_instance->staffavailsetavailability($token, $userid, $availablefor);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->staffavailsetavailability: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user whose specific availability has to be set.
my $availablefor = availablefor_example; # String | Specific availability to set.

eval { 
    $api_instance->staffavailsetavailability(token => $token, userid => $userid, availablefor => $availablefor);
};
if ($@) {
    warn "Exception when calling DefaultApi->staffavailsetavailability: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user whose specific availability has to be set. (default to null)
availablefor = availablefor_example # String | Specific availability to set. (optional) (default to null)

try: 
    # Make a staff member available for a specific availability type
    api_instance.staffavailsetavailability(token, userid, availablefor=availablefor)
except ApiException as e:
    print("Exception when calling DefaultApi->staffavailsetavailability: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let availablefor = availablefor_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.staffavailsetavailability(token, userid, availablefor, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user whose specific availability has to be set.
Required
availablefor
String
Specific availability to set.

Responses


staffavailsetmyavailability

Change current user's availability type

Allows the user to make themselves available for walk ins, appointments, or both.


/staffavailsetmyavailability

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/staffavailsetmyavailability?token=&availablefor="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String availablefor = availablefor_example; // String | Specific availability to set.
        try {
            apiInstance.staffavailsetmyavailability(token, availablefor);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailsetmyavailability");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String availablefor = availablefor_example; // String | Specific availability to set.
        try {
            apiInstance.staffavailsetmyavailability(token, availablefor);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#staffavailsetmyavailability");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *availablefor = availablefor_example; // Specific availability to set. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Change current user's availability type
[apiInstance staffavailsetmyavailabilityWith:token
    availablefor:availablefor
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'availablefor': availablefor_example // {String} Specific availability to set.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.staffavailsetmyavailability(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class staffavailsetmyavailabilityExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var availablefor = availablefor_example;  // String | Specific availability to set. (optional)  (default to null)

            try
            {
                // Change current user's availability type
                apiInstance.staffavailsetmyavailability(token, availablefor);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.staffavailsetmyavailability: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$availablefor = availablefor_example; // String | Specific availability to set.

try {
    $api_instance->staffavailsetmyavailability($token, $availablefor);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->staffavailsetmyavailability: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $availablefor = availablefor_example; # String | Specific availability to set.

eval { 
    $api_instance->staffavailsetmyavailability(token => $token, availablefor => $availablefor);
};
if ($@) {
    warn "Exception when calling DefaultApi->staffavailsetmyavailability: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
availablefor = availablefor_example # String | Specific availability to set. (optional) (default to null)

try: 
    # Change current user's availability type
    api_instance.staffavailsetmyavailability(token, availablefor=availablefor)
except ApiException as e:
    print("Exception when calling DefaultApi->staffavailsetmyavailability: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let availablefor = availablefor_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.staffavailsetmyavailability(token, availablefor, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
availablefor
String
Specific availability to set.

Responses


stationdelete

Delete a sign-in station

Allows the user to delete a sign-in station from the list of existing sign-in stations that they can view based on their scope.


/stationdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/stationdelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to delete.
        try {
            apiInstance.stationdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to delete.
        try {
            apiInstance.stationdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a sign-in station
[apiInstance stationdeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.stationdelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class stationdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the sign-in station to delete. (default to null)

            try
            {
                // Delete a sign-in station
                apiInstance.stationdelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.stationdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to delete.

try {
    $api_instance->stationdelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->stationdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station to delete.

eval { 
    $api_instance->stationdelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->stationdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station to delete. (default to null)

try: 
    # Delete a sign-in station
    api_instance.stationdelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->stationdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.stationdelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the sign-in station to delete.
Required

Responses


stationget

View details of a sign-in station

Allows the user to view an individual sign-in station and its details.


/stationget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/stationget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        try {
            apiInstance.stationget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        try {
            apiInstance.stationget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a sign-in station
[apiInstance stationgetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.stationget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class stationgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the sign-in station to get. (default to null)

            try
            {
                // View details of a sign-in station
                apiInstance.stationget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.stationget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.

try {
    $api_instance->stationget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->stationget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station to get.

eval { 
    $api_instance->stationget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->stationget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station to get. (default to null)

try: 
    # View details of a sign-in station
    api_instance.stationget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->stationget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.stationget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the sign-in station to get.
Required

Responses


stationgetcurrentterms

Get all the current terms


/stationgetcurrentterms

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/stationgetcurrentterms?station="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station whose account's current terms have to be retrieved.
        try {
            apiInstance.stationgetcurrentterms(station);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationgetcurrentterms");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station whose account's current terms have to be retrieved.
        try {
            apiInstance.stationgetcurrentterms(station);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationgetcurrentterms");
            e.printStackTrace();
        }
    }
}
UUID *station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station whose account's current terms have to be retrieved. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get all the current terms
[apiInstance stationgetcurrenttermsWith:station
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station whose account's current terms have to be retrieved.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.stationgetcurrentterms(station, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class stationgetcurrenttermsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var station = new UUID(); // UUID | The id of the sign-in station whose account's current terms have to be retrieved. (default to null)

            try
            {
                // Get all the current terms
                apiInstance.stationgetcurrentterms(station);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.stationgetcurrentterms: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station whose account's current terms have to be retrieved.

try {
    $api_instance->stationgetcurrentterms($station);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->stationgetcurrentterms: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station whose account's current terms have to be retrieved.

eval { 
    $api_instance->stationgetcurrentterms(station => $station);
};
if ($@) {
    warn "Exception when calling DefaultApi->stationgetcurrentterms: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
station = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station whose account's current terms have to be retrieved. (default to null)

try: 
    # Get all the current terms
    api_instance.stationgetcurrentterms(station)
except ApiException as e:
    print("Exception when calling DefaultApi->stationgetcurrentterms: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.stationgetcurrentterms(station, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
station*
UUID (uuid)
The id of the sign-in station whose account's current terms have to be retrieved.
Required

Responses


stationgetinfo

Gets a the info to display in the sign-in station by it's ID.


/stationgetinfo

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/stationgetinfo?id=&event="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        UUID event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event, to override the one by schedule.
        try {
            apiInstance.stationgetinfo(id, event);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationgetinfo");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
        UUID event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event, to override the one by schedule.
        try {
            apiInstance.stationgetinfo(id, event);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationgetinfo");
            e.printStackTrace();
        }
    }
}
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station to get. (default to null)
UUID *event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event, to override the one by schedule. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets a the info to display in the sign-in station by it's ID.
[apiInstance stationgetinfoWith:id
    event:event
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station to get.
var opts = {
  'event': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} The id of the event, to override the one by schedule.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.stationgetinfo(id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class stationgetinfoExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var id = new UUID(); // UUID | The id of the sign-in station to get. (default to null)
            var event = new UUID(); // UUID | The id of the event, to override the one by schedule. (optional)  (default to null)

            try
            {
                // Gets a the info to display in the sign-in station by it's ID.
                apiInstance.stationgetinfo(id, event);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.stationgetinfo: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to get.
$event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event, to override the one by schedule.

try {
    $api_instance->stationgetinfo($id, $event);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->stationgetinfo: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station to get.
my $event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event, to override the one by schedule.

eval { 
    $api_instance->stationgetinfo(id => $id, event => $event);
};
if ($@) {
    warn "Exception when calling DefaultApi->stationgetinfo: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station to get. (default to null)
event = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event, to override the one by schedule. (optional) (default to null)

try: 
    # Gets a the info to display in the sign-in station by it's ID.
    api_instance.stationgetinfo(id, event=event)
except ApiException as e:
    print("Exception when calling DefaultApi->stationgetinfo: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let event = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.stationgetinfo(id, event, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
id*
UUID (uuid)
The id of the sign-in station to get.
Required
event
UUID (uuid)
The id of the event, to override the one by schedule.

Responses


stationgetlicense

Gets the current license information


/stationgetlicense

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/stationgetlicense?station="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String station = station_example; // String | The id of the sign-in station whose account's license has to be retrieved.
        try {
            apiInstance.stationgetlicense(station);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationgetlicense");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String station = station_example; // String | The id of the sign-in station whose account's license has to be retrieved.
        try {
            apiInstance.stationgetlicense(station);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationgetlicense");
            e.printStackTrace();
        }
    }
}
String *station = station_example; // The id of the sign-in station whose account's license has to be retrieved. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the current license information
[apiInstance stationgetlicenseWith:station
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var station = station_example; // {String} The id of the sign-in station whose account's license has to be retrieved.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.stationgetlicense(station, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class stationgetlicenseExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var station = station_example;  // String | The id of the sign-in station whose account's license has to be retrieved. (default to null)

            try
            {
                // Gets the current license information
                apiInstance.stationgetlicense(station);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.stationgetlicense: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$station = station_example; // String | The id of the sign-in station whose account's license has to be retrieved.

try {
    $api_instance->stationgetlicense($station);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->stationgetlicense: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $station = station_example; # String | The id of the sign-in station whose account's license has to be retrieved.

eval { 
    $api_instance->stationgetlicense(station => $station);
};
if ($@) {
    warn "Exception when calling DefaultApi->stationgetlicense: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
station = station_example # String | The id of the sign-in station whose account's license has to be retrieved. (default to null)

try: 
    # Gets the current license information
    api_instance.stationgetlicense(station)
except ApiException as e:
    print("Exception when calling DefaultApi->stationgetlicense: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let station = station_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.stationgetlicense(station, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
station*
String
The id of the sign-in station whose account's license has to be retrieved.
Required

Responses


stationgetlocationsettings

View the sign-in station settings of a specified location

Allows the user to view the location settings of a sign-in station.


/stationgetlocationsettings

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/stationgetlocationsettings?location="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location whose station settings have to be returned.
        try {
            apiInstance.stationgetlocationsettings(location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationgetlocationsettings");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location whose station settings have to be returned.
        try {
            apiInstance.stationgetlocationsettings(location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationgetlocationsettings");
            e.printStackTrace();
        }
    }
}
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location whose station settings have to be returned. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View the sign-in station settings of a specified location
[apiInstance stationgetlocationsettingsWith:location
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the location whose station settings have to be returned.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.stationgetlocationsettings(location, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class stationgetlocationsettingsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var location = new UUID(); // UUID | The id of the location whose station settings have to be returned. (default to null)

            try
            {
                // View the sign-in station settings of a specified location
                apiInstance.stationgetlocationsettings(location);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.stationgetlocationsettings: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location whose station settings have to be returned.

try {
    $api_instance->stationgetlocationsettings($location);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->stationgetlocationsettings: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location whose station settings have to be returned.

eval { 
    $api_instance->stationgetlocationsettings(location => $location);
};
if ($@) {
    warn "Exception when calling DefaultApi->stationgetlocationsettings: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location whose station settings have to be returned. (default to null)

try: 
    # View the sign-in station settings of a specified location
    api_instance.stationgetlocationsettings(location)
except ApiException as e:
    print("Exception when calling DefaultApi->stationgetlocationsettings: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.stationgetlocationsettings(location, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
location*
UUID (uuid)
The id of the location whose station settings have to be returned.
Required

Responses


stationlist

View a list of sign-in stations

Allows the user to view the list of sign-in stations, limited to the stations in the locations to which they are scoped.


/stationlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/stationlist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.stationlist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.stationlist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of sign-in stations
[apiInstance stationlistWith:token
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.stationlist(token, from, count, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class stationlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)

            try
            {
                // View a list of sign-in stations
                apiInstance.stationlist(token, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.stationlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->stationlist($token, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->stationlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->stationlist(token => $token, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->stationlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)

try: 
    # View a list of sign-in stations
    api_instance.stationlist(token, from, count)
except ApiException as e:
    print("Exception when calling DefaultApi->stationlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.stationlist(token, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


stationsave

Create or edit a sign-in station

Allows the user to create, edit, or install a sign-in station based in an area to which they are scoped.


/stationsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/stationsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.stationsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.stationsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a sign-in station
[apiInstance stationsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.stationsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class stationsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a sign-in station
                apiInstance.stationsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.stationsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->stationsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->stationsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->stationsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->stationsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a sign-in station
    api_instance.stationsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->stationsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.stationsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


stationsavemine

Create or edit a class attendance sign-in station for myself

Allows the user to create a class attendance sign-in station for a course for which they are available as staff.


/stationsavemine

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/stationsavemine"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.stationsavemine(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationsavemine");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.stationsavemine(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationsavemine");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a class attendance sign-in station for myself
[apiInstance stationsavemineWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.stationsavemine(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class stationsavemineExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a class attendance sign-in station for myself
                apiInstance.stationsavemine(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.stationsavemine: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->stationsavemine($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->stationsavemine: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->stationsavemine(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->stationsavemine: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a class attendance sign-in station for myself
    api_instance.stationsavemine(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->stationsavemine: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.stationsavemine(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


stationunlock

Unlocks the sign-in station.


/stationunlock

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/stationunlock?id=&passcode=&method="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to unlock.
        String passcode = passcode_example; // String | The passcode to unlock the station.
        String method = method_example; // String | The authentication method. Valid values are 'token' and 'cookie'.
        try {
            apiInstance.stationunlock(id, passcode, method);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationunlock");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to unlock.
        String passcode = passcode_example; // String | The passcode to unlock the station.
        String method = method_example; // String | The authentication method. Valid values are 'token' and 'cookie'.
        try {
            apiInstance.stationunlock(id, passcode, method);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stationunlock");
            e.printStackTrace();
        }
    }
}
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station to unlock. (default to null)
String *passcode = passcode_example; // The passcode to unlock the station. (default to null)
String *method = method_example; // The authentication method. Valid values are 'token' and 'cookie'. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Unlocks the sign-in station.
[apiInstance stationunlockWith:id
    passcode:passcode
    method:method
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station to unlock.
var passcode = passcode_example; // {String} The passcode to unlock the station.
var method = method_example; // {String} The authentication method. Valid values are 'token' and 'cookie'.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.stationunlock(id, passcode, method, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class stationunlockExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var id = new UUID(); // UUID | The id of the sign-in station to unlock. (default to null)
            var passcode = passcode_example;  // String | The passcode to unlock the station. (default to null)
            var method = method_example;  // String | The authentication method. Valid values are 'token' and 'cookie'. (default to null)

            try
            {
                // Unlocks the sign-in station.
                apiInstance.stationunlock(id, passcode, method);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.stationunlock: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station to unlock.
$passcode = passcode_example; // String | The passcode to unlock the station.
$method = method_example; // String | The authentication method. Valid values are 'token' and 'cookie'.

try {
    $api_instance->stationunlock($id, $passcode, $method);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->stationunlock: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station to unlock.
my $passcode = passcode_example; # String | The passcode to unlock the station.
my $method = method_example; # String | The authentication method. Valid values are 'token' and 'cookie'.

eval { 
    $api_instance->stationunlock(id => $id, passcode => $passcode, method => $method);
};
if ($@) {
    warn "Exception when calling DefaultApi->stationunlock: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station to unlock. (default to null)
passcode = passcode_example # String | The passcode to unlock the station. (default to null)
method = method_example # String | The authentication method. Valid values are 'token' and 'cookie'. (default to null)

try: 
    # Unlocks the sign-in station.
    api_instance.stationunlock(id, passcode, method)
except ApiException as e:
    print("Exception when calling DefaultApi->stationunlock: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let passcode = passcode_example; // String
    let method = method_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.stationunlock(id, passcode, method, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
id*
UUID (uuid)
The id of the sign-in station to unlock.
Required
passcode*
String
The passcode to unlock the station.
Required
method*
String
The authentication method. Valid values are 'token' and 'cookie'.
Required

Responses


swipedelete

Delete a swipe

Allows the user to delete an existing attendance swipe.


/swipedelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/swipedelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the swipe to delete.
        try {
            apiInstance.swipedelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#swipedelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the swipe to delete.
        try {
            apiInstance.swipedelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#swipedelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the swipe to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a swipe
[apiInstance swipedeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the swipe to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.swipedelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class swipedeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the swipe to delete. (default to null)

            try
            {
                // Delete a swipe
                apiInstance.swipedelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.swipedelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the swipe to delete.

try {
    $api_instance->swipedelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->swipedelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the swipe to delete.

eval { 
    $api_instance->swipedelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->swipedelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the swipe to delete. (default to null)

try: 
    # Delete a swipe
    api_instance.swipedelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->swipedelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.swipedelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the swipe to delete.
Required

Responses


swipeget

Search and view details of a swipe

Allows the user to view an individual attendance swipe.


/swipeget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/swipeget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the swipe to get.
        try {
            apiInstance.swipeget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#swipeget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the swipe to get.
        try {
            apiInstance.swipeget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#swipeget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the swipe to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of a swipe
[apiInstance swipegetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the swipe to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.swipeget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class swipegetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the swipe to get. (default to null)

            try
            {
                // Search and view details of a swipe
                apiInstance.swipeget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.swipeget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the swipe to get.

try {
    $api_instance->swipeget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->swipeget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the swipe to get.

eval { 
    $api_instance->swipeget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->swipeget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the swipe to get. (default to null)

try: 
    # Search and view details of a swipe
    api_instance.swipeget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->swipeget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.swipeget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the swipe to get.
Required

Responses


swipelist

View a list of swipes

Allows the user to view a list of all swipes for the location or locations in which the user is scoped.


/swipelist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/swipelist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.swipelist(from, count, token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#swipelist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.swipelist(from, count, token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#swipelist");
            e.printStackTrace();
        }
    }
}
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
String *token = token_example; // The authentication token. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of swipes
[apiInstance swipelistWith:from
    count:count
    token:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'token': token_example // {String} The authentication token.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.swipelist(from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class swipelistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var token = token_example;  // String | The authentication token. (optional)  (default to null)

            try
            {
                // View a list of swipes
                apiInstance.swipelist(from, count, token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.swipelist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$token = token_example; // String | The authentication token.

try {
    $api_instance->swipelist($from, $count, $token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->swipelist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->swipelist(from => $from, count => $count, token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->swipelist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
token = token_example # String | The authentication token. (optional) (default to null)

try: 
    # View a list of swipes
    api_instance.swipelist(from, count, token=token)
except ApiException as e:
    print("Exception when calling DefaultApi->swipelist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let from = 56; // Integer
    let count = 56; // Integer
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.swipelist(from, count, token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token
String
The authentication token.
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


swipesave

Create or edit a swipe, and if possible, save the related attendance log

Allows the user to save an attendance swipe, which will also save the attendance log if the information in the swipe is enough.


/swipesave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/swipesave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.swipesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#swipesave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.swipesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#swipesave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a swipe, and if possible, save the related attendance log
[apiInstance swipesaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.swipesave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class swipesaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a swipe, and if possible, save the related attendance log
                apiInstance.swipesave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.swipesave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->swipesave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->swipesave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->swipesave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->swipesave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a swipe, and if possible, save the related attendance log
    api_instance.swipesave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->swipesave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.swipesave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


swipesaveanonym

Creates a new swipe from a sign-in station, and if possible, creates the attendance log


/swipesaveanonym

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/swipesaveanonym"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.swipesaveanonym(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#swipesaveanonym");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.swipesaveanonym(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#swipesaveanonym");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Creates a new swipe from a sign-in station, and if possible, creates the attendance log
[apiInstance swipesaveanonymWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.swipesaveanonym(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class swipesaveanonymExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Creates a new swipe from a sign-in station, and if possible, creates the attendance log
                apiInstance.swipesaveanonym(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.swipesaveanonym: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->swipesaveanonym($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->swipesaveanonym: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->swipesaveanonym(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->swipesaveanonym: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Creates a new swipe from a sign-in station, and if possible, creates the attendance log
    api_instance.swipesaveanonym(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->swipesaveanonym: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.swipesaveanonym(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


tagdelete

Delete a tag

Allows the user to delete an existing tag.


/tagdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/tagdelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the tag to delete.
        try {
            apiInstance.tagdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#tagdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the tag to delete.
        try {
            apiInstance.tagdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#tagdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the tag to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a tag
[apiInstance tagdeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the tag to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.tagdelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class tagdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the tag to delete. (default to null)

            try
            {
                // Delete a tag
                apiInstance.tagdelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.tagdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the tag to delete.

try {
    $api_instance->tagdelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->tagdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the tag to delete.

eval { 
    $api_instance->tagdelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->tagdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the tag to delete. (default to null)

try: 
    # Delete a tag
    api_instance.tagdelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->tagdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.tagdelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the tag to delete.
Required

Responses


tagget

View details of a specified tag

Allows the user to click on and view the settings for a tag.


/tagget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/tagget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the tag to get.
        try {
            apiInstance.tagget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#tagget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the tag to get.
        try {
            apiInstance.tagget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#tagget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the tag to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a specified tag
[apiInstance taggetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the tag to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.tagget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class taggetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the tag to get. (default to null)

            try
            {
                // View details of a specified tag
                apiInstance.tagget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.tagget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the tag to get.

try {
    $api_instance->tagget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->tagget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the tag to get.

eval { 
    $api_instance->tagget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->tagget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the tag to get. (default to null)

try: 
    # View details of a specified tag
    api_instance.tagget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->tagget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.tagget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the tag to get.
Required

Responses


taglist

View a list of tags

Allows the user to view the list of tags.


/taglist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/taglist?token=&group=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String group = group_example; // String | The group of the tags to return.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.taglist(token, group, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#taglist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String group = group_example; // String | The group of the tags to return.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.taglist(token, group, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#taglist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *group = group_example; // The group of the tags to return. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of tags
[apiInstance taglistWith:token
    group:group
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var group = group_example; // {String} The group of the tags to return.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.taglist(token, group, from, count, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class taglistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var group = group_example;  // String | The group of the tags to return. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)

            try
            {
                // View a list of tags
                apiInstance.taglist(token, group, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.taglist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$group = group_example; // String | The group of the tags to return.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->taglist($token, $group, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->taglist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $group = group_example; # String | The group of the tags to return.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->taglist(token => $token, group => $group, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->taglist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
group = group_example # String | The group of the tags to return. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)

try: 
    # View a list of tags
    api_instance.taglist(token, group, from, count)
except ApiException as e:
    print("Exception when calling DefaultApi->taglist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let group = group_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.taglist(token, group, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
group*
String
The group of the tags to return.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


taglistgroups

View a list of entities that can be tagged

Allows the user to view the list of user roles that can be tagged, according to that tag's settings.


/taglistgroups

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/taglistgroups?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.taglistgroups(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#taglistgroups");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.taglistgroups(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#taglistgroups");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of entities that can be tagged
[apiInstance taglistgroupsWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.taglistgroups(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class taglistgroupsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // View a list of entities that can be tagged
                apiInstance.taglistgroups(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.taglistgroups: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->taglistgroups($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->taglistgroups: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->taglistgroups(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->taglistgroups: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # View a list of entities that can be tagged
    api_instance.taglistgroups(token)
except ApiException as e:
    print("Exception when calling DefaultApi->taglistgroups: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.taglistgroups(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


tagsave

Create or edit a tag

Allows the user to create or edit a tag.


/tagsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/tagsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.tagsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#tagsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.tagsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#tagsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a tag
[apiInstance tagsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.tagsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class tagsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a tag
                apiInstance.tagsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.tagsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->tagsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->tagsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->tagsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->tagsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a tag
    api_instance.tagsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->tagsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.tagsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


tagsearch

Search for tags in the account

Allows the user to search for tags.


/tagsearch

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/tagsearch?token=&query=&allowcreatingnew="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String query = query_example; // String | The query to search tags. Use group: to search in a specific group (mandatory).
        Boolean allowcreatingnew = true; // Boolean | Specifies whether an option to create a new tag should be retrieved.
        try {
            apiInstance.tagsearch(token, query, allowcreatingnew);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#tagsearch");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String query = query_example; // String | The query to search tags. Use group: to search in a specific group (mandatory).
        Boolean allowcreatingnew = true; // Boolean | Specifies whether an option to create a new tag should be retrieved.
        try {
            apiInstance.tagsearch(token, query, allowcreatingnew);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#tagsearch");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *query = query_example; // The query to search tags. Use group: to search in a specific group (mandatory). (default to null)
Boolean *allowcreatingnew = true; // Specifies whether an option to create a new tag should be retrieved. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search for tags in the account
[apiInstance tagsearchWith:token
    query:query
    allowcreatingnew:allowcreatingnew
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var query = query_example; // {String} The query to search tags. Use group: to search in a specific group (mandatory).
var opts = {
  'allowcreatingnew': true // {Boolean} Specifies whether an option to create a new tag should be retrieved.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.tagsearch(token, query, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class tagsearchExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var query = query_example;  // String | The query to search tags. Use group: to search in a specific group (mandatory). (default to null)
            var allowcreatingnew = true;  // Boolean | Specifies whether an option to create a new tag should be retrieved. (optional)  (default to null)

            try
            {
                // Search for tags in the account
                apiInstance.tagsearch(token, query, allowcreatingnew);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.tagsearch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$query = query_example; // String | The query to search tags. Use group: to search in a specific group (mandatory).
$allowcreatingnew = true; // Boolean | Specifies whether an option to create a new tag should be retrieved.

try {
    $api_instance->tagsearch($token, $query, $allowcreatingnew);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->tagsearch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $query = query_example; # String | The query to search tags. Use group: to search in a specific group (mandatory).
my $allowcreatingnew = true; # Boolean | Specifies whether an option to create a new tag should be retrieved.

eval { 
    $api_instance->tagsearch(token => $token, query => $query, allowcreatingnew => $allowcreatingnew);
};
if ($@) {
    warn "Exception when calling DefaultApi->tagsearch: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
query = query_example # String | The query to search tags. Use group: to search in a specific group (mandatory). (default to null)
allowcreatingnew = true # Boolean | Specifies whether an option to create a new tag should be retrieved. (optional) (default to null)

try: 
    # Search for tags in the account
    api_instance.tagsearch(token, query, allowcreatingnew=allowcreatingnew)
except ApiException as e:
    print("Exception when calling DefaultApi->tagsearch: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let query = query_example; // String
    let allowcreatingnew = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.tagsearch(token, query, allowcreatingnew, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
query*
String
The query to search tags. Use group:<group> to search in a specific group (mandatory).
Required
allowcreatingnew
Boolean
Specifies whether an option to create a new tag should be retrieved.

Responses


templateaddimage

Add an image to a template

Allows the user to add an image to a badge or certificate template.


/templateaddimage

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/templateaddimage?token=&template=&upload=&filename="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID template = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the template where the image has to be added
        String upload = upload_example; // String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
        String filename = filename_example; // String | The local name of the uploaded file. For later reference.
        try {
            apiInstance.templateaddimage(token, template, upload, filename);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templateaddimage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID template = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the template where the image has to be added
        String upload = upload_example; // String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
        String filename = filename_example; // String | The local name of the uploaded file. For later reference.
        try {
            apiInstance.templateaddimage(token, template, upload, filename);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templateaddimage");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *template = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the template where the image has to be added (default to null)
String *upload = upload_example; // Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object). (default to null)
String *filename = filename_example; // The local name of the uploaded file. For later reference. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Add an image to a template
[apiInstance templateaddimageWith:token
    template:template
    upload:upload
    filename:filename
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var template = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the template where the image has to be added
var upload = upload_example; // {String} Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
var opts = {
  'filename': filename_example // {String} The local name of the uploaded file. For later reference.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.templateaddimage(token, template, upload, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class templateaddimageExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var template = new UUID(); // UUID | The id of the template where the image has to be added (default to null)
            var upload = upload_example;  // String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object). (default to null)
            var filename = filename_example;  // String | The local name of the uploaded file. For later reference. (optional)  (default to null)

            try
            {
                // Add an image to a template
                apiInstance.templateaddimage(token, template, upload, filename);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.templateaddimage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$template = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the template where the image has to be added
$upload = upload_example; // String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
$filename = filename_example; // String | The local name of the uploaded file. For later reference.

try {
    $api_instance->templateaddimage($token, $template, $upload, $filename);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->templateaddimage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $template = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the template where the image has to be added
my $upload = upload_example; # String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
my $filename = filename_example; # String | The local name of the uploaded file. For later reference.

eval { 
    $api_instance->templateaddimage(token => $token, template => $template, upload => $upload, filename => $filename);
};
if ($@) {
    warn "Exception when calling DefaultApi->templateaddimage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
template = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the template where the image has to be added (default to null)
upload = upload_example # String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object). (default to null)
filename = filename_example # String | The local name of the uploaded file. For later reference. (optional) (default to null)

try: 
    # Add an image to a template
    api_instance.templateaddimage(token, template, upload, filename=filename)
except ApiException as e:
    print("Exception when calling DefaultApi->templateaddimage: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let template = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let upload = upload_example; // String
    let filename = filename_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.templateaddimage(token, template, upload, filename, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
template*
UUID (uuid)
The id of the template where the image has to be added
Required
upload*
String
Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
Required
filename
String
The local name of the uploaded file. For later reference.

Responses


templatedelete

Delete a template

Allows the user to delete an existing template.


/templatedelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/templatedelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the template to delete.
        try {
            apiInstance.templatedelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templatedelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the template to delete.
        try {
            apiInstance.templatedelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templatedelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the template to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a template
[apiInstance templatedeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the template to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.templatedelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class templatedeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the template to delete. (default to null)

            try
            {
                // Delete a template
                apiInstance.templatedelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.templatedelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the template to delete.

try {
    $api_instance->templatedelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->templatedelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the template to delete.

eval { 
    $api_instance->templatedelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->templatedelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the template to delete. (default to null)

try: 
    # Delete a template
    api_instance.templatedelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->templatedelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.templatedelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the template to delete.
Required

Responses


templateemail

Send generated templates by email

Allows the user to send generated templates via email through AccuCampus.


/templateemail

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/templateemail?token=&jobid=&templatekind=&emailfrom=&emailreplyto=&emailsubject=&emailbody="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String jobid = jobid_example; // String | The id of the job that is creating the templates.
        String emailsubject = emailsubject_example; // String | Args depending on the send-to flag.
        String emailbody = emailbody_example; // String | Args depending on the send-to flag.
        String templatekind = templatekind_example; // String | The kind of the template you're sending. It must be included in (badge, certificate).
        String emailfrom = emailfrom_example; // String | The name of the sender to be displayed in the receipients inbox
        String emailreplyto = emailreplyto_example; // String | The reply-to field for the emails.
        try {
            apiInstance.templateemail(token, jobid, emailsubject, emailbody, templatekind, emailfrom, emailreplyto);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templateemail");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String jobid = jobid_example; // String | The id of the job that is creating the templates.
        String emailsubject = emailsubject_example; // String | Args depending on the send-to flag.
        String emailbody = emailbody_example; // String | Args depending on the send-to flag.
        String templatekind = templatekind_example; // String | The kind of the template you're sending. It must be included in (badge, certificate).
        String emailfrom = emailfrom_example; // String | The name of the sender to be displayed in the receipients inbox
        String emailreplyto = emailreplyto_example; // String | The reply-to field for the emails.
        try {
            apiInstance.templateemail(token, jobid, emailsubject, emailbody, templatekind, emailfrom, emailreplyto);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templateemail");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *jobid = jobid_example; // The id of the job that is creating the templates. (default to null)
String *emailsubject = emailsubject_example; // Args depending on the send-to flag. (default to null)
String *emailbody = emailbody_example; // Args depending on the send-to flag. (default to null)
String *templatekind = templatekind_example; // The kind of the template you're sending. It must be included in (badge, certificate). (optional) (default to null)
String *emailfrom = emailfrom_example; // The name of the sender to be displayed in the receipients inbox (optional) (default to null)
String *emailreplyto = emailreplyto_example; // The reply-to field for the emails. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Send generated templates by email
[apiInstance templateemailWith:token
    jobid:jobid
    emailsubject:emailsubject
    emailbody:emailbody
    templatekind:templatekind
    emailfrom:emailfrom
    emailreplyto:emailreplyto
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var jobid = jobid_example; // {String} The id of the job that is creating the templates.
var emailsubject = emailsubject_example; // {String} Args depending on the send-to flag.
var emailbody = emailbody_example; // {String} Args depending on the send-to flag.
var opts = {
  'templatekind': templatekind_example, // {String} The kind of the template you're sending. It must be included in (badge, certificate).
  'emailfrom': emailfrom_example, // {String} The name of the sender to be displayed in the receipients inbox
  'emailreplyto': emailreplyto_example // {String} The reply-to field for the emails.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.templateemail(token, jobid, emailsubject, emailbody, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class templateemailExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var jobid = jobid_example;  // String | The id of the job that is creating the templates. (default to null)
            var emailsubject = emailsubject_example;  // String | Args depending on the send-to flag. (default to null)
            var emailbody = emailbody_example;  // String | Args depending on the send-to flag. (default to null)
            var templatekind = templatekind_example;  // String | The kind of the template you're sending. It must be included in (badge, certificate). (optional)  (default to null)
            var emailfrom = emailfrom_example;  // String | The name of the sender to be displayed in the receipients inbox (optional)  (default to null)
            var emailreplyto = emailreplyto_example;  // String | The reply-to field for the emails. (optional)  (default to null)

            try
            {
                // Send generated templates by email
                apiInstance.templateemail(token, jobid, emailsubject, emailbody, templatekind, emailfrom, emailreplyto);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.templateemail: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$jobid = jobid_example; // String | The id of the job that is creating the templates.
$emailsubject = emailsubject_example; // String | Args depending on the send-to flag.
$emailbody = emailbody_example; // String | Args depending on the send-to flag.
$templatekind = templatekind_example; // String | The kind of the template you're sending. It must be included in (badge, certificate).
$emailfrom = emailfrom_example; // String | The name of the sender to be displayed in the receipients inbox
$emailreplyto = emailreplyto_example; // String | The reply-to field for the emails.

try {
    $api_instance->templateemail($token, $jobid, $emailsubject, $emailbody, $templatekind, $emailfrom, $emailreplyto);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->templateemail: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $jobid = jobid_example; # String | The id of the job that is creating the templates.
my $emailsubject = emailsubject_example; # String | Args depending on the send-to flag.
my $emailbody = emailbody_example; # String | Args depending on the send-to flag.
my $templatekind = templatekind_example; # String | The kind of the template you're sending. It must be included in (badge, certificate).
my $emailfrom = emailfrom_example; # String | The name of the sender to be displayed in the receipients inbox
my $emailreplyto = emailreplyto_example; # String | The reply-to field for the emails.

eval { 
    $api_instance->templateemail(token => $token, jobid => $jobid, emailsubject => $emailsubject, emailbody => $emailbody, templatekind => $templatekind, emailfrom => $emailfrom, emailreplyto => $emailreplyto);
};
if ($@) {
    warn "Exception when calling DefaultApi->templateemail: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
jobid = jobid_example # String | The id of the job that is creating the templates. (default to null)
emailsubject = emailsubject_example # String | Args depending on the send-to flag. (default to null)
emailbody = emailbody_example # String | Args depending on the send-to flag. (default to null)
templatekind = templatekind_example # String | The kind of the template you're sending. It must be included in (badge, certificate). (optional) (default to null)
emailfrom = emailfrom_example # String | The name of the sender to be displayed in the receipients inbox (optional) (default to null)
emailreplyto = emailreplyto_example # String | The reply-to field for the emails. (optional) (default to null)

try: 
    # Send generated templates by email
    api_instance.templateemail(token, jobid, emailsubject, emailbody, templatekind=templatekind, emailfrom=emailfrom, emailreplyto=emailreplyto)
except ApiException as e:
    print("Exception when calling DefaultApi->templateemail: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let jobid = jobid_example; // String
    let emailsubject = emailsubject_example; // String
    let emailbody = emailbody_example; // String
    let templatekind = templatekind_example; // String
    let emailfrom = emailfrom_example; // String
    let emailreplyto = emailreplyto_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.templateemail(token, jobid, emailsubject, emailbody, templatekind, emailfrom, emailreplyto, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
jobid*
String
The id of the job that is creating the templates.
Required
templatekind
String
The kind of the template you're sending. It must be included in (badge, certificate).
emailfrom
String
The name of the sender to be displayed in the receipients inbox
emailreplyto
String
The reply-to field for the emails.
emailsubject*
String
Args depending on the send-to flag.
Required
emailbody*
String
Args depending on the send-to flag.
Required

Responses


templategenerate

Generate specified templates

Allows the user to generate an existing template as badges or certificates.


/templategenerate

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/templategenerate?token=&template=&source=&singlefile=&userid=&forsending=&role=&filters="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID template = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the template to generate.
        UUID source = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The source key of the selected template data source.
        Boolean singlefile = true; // Boolean | True if all the templates should be placed in the same file, false if each one shoud be in its own file.
        String userid = userid_example; // String | Only the template for these users is created (and emailed if 'email' is true), enter multiple separated by commas.
        Boolean forsending = true; // Boolean | It specifies the purpose of the creation of the templates. If true then is for sending via e-mail, otherwise is just for downloading
        UUID role = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | When printing all badges, filter by person type, can be either: attendee, presenter or exhibitor
        String filters = filters_example; // String | Pipe separated filters for the generation, eg: aaa=val|bbb=val|...
        try {
            apiInstance.templategenerate(token, template, source, singlefile, userid, forsending, role, filters);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templategenerate");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID template = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the template to generate.
        UUID source = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The source key of the selected template data source.
        Boolean singlefile = true; // Boolean | True if all the templates should be placed in the same file, false if each one shoud be in its own file.
        String userid = userid_example; // String | Only the template for these users is created (and emailed if 'email' is true), enter multiple separated by commas.
        Boolean forsending = true; // Boolean | It specifies the purpose of the creation of the templates. If true then is for sending via e-mail, otherwise is just for downloading
        UUID role = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | When printing all badges, filter by person type, can be either: attendee, presenter or exhibitor
        String filters = filters_example; // String | Pipe separated filters for the generation, eg: aaa=val|bbb=val|...
        try {
            apiInstance.templategenerate(token, template, source, singlefile, userid, forsending, role, filters);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templategenerate");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *template = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the template to generate. (default to null)
UUID *source = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The source key of the selected template data source. (default to null)
Boolean *singlefile = true; // True if all the templates should be placed in the same file, false if each one shoud be in its own file. (default to null)
String *userid = userid_example; // Only the template for these users is created (and emailed if 'email' is true), enter multiple separated by commas. (optional) (default to null)
Boolean *forsending = true; // It specifies the purpose of the creation of the templates. If true then is for sending via e-mail, otherwise is just for downloading (optional) (default to null)
UUID *role = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // When printing all badges, filter by person type, can be either: attendee, presenter or exhibitor (optional) (default to null)
String *filters = filters_example; // Pipe separated filters for the generation, eg: aaa=val|bbb=val|... (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Generate specified templates
[apiInstance templategenerateWith:token
    template:template
    source:source
    singlefile:singlefile
    userid:userid
    forsending:forsending
    role:role
    filters:filters
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var template = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the template to generate.
var source = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The source key of the selected template data source.
var singlefile = true; // {Boolean} True if all the templates should be placed in the same file, false if each one shoud be in its own file.
var opts = {
  'userid': userid_example, // {String} Only the template for these users is created (and emailed if 'email' is true), enter multiple separated by commas.
  'forsending': true, // {Boolean} It specifies the purpose of the creation of the templates. If true then is for sending via e-mail, otherwise is just for downloading
  'role': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} When printing all badges, filter by person type, can be either: attendee, presenter or exhibitor
  'filters': filters_example // {String} Pipe separated filters for the generation, eg: aaa=val|bbb=val|...
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.templategenerate(token, template, source, singlefile, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class templategenerateExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var template = new UUID(); // UUID | The id of the template to generate. (default to null)
            var source = new UUID(); // UUID | The source key of the selected template data source. (default to null)
            var singlefile = true;  // Boolean | True if all the templates should be placed in the same file, false if each one shoud be in its own file. (default to null)
            var userid = userid_example;  // String | Only the template for these users is created (and emailed if 'email' is true), enter multiple separated by commas. (optional)  (default to null)
            var forsending = true;  // Boolean | It specifies the purpose of the creation of the templates. If true then is for sending via e-mail, otherwise is just for downloading (optional)  (default to null)
            var role = new UUID(); // UUID | When printing all badges, filter by person type, can be either: attendee, presenter or exhibitor (optional)  (default to null)
            var filters = filters_example;  // String | Pipe separated filters for the generation, eg: aaa=val|bbb=val|... (optional)  (default to null)

            try
            {
                // Generate specified templates
                apiInstance.templategenerate(token, template, source, singlefile, userid, forsending, role, filters);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.templategenerate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$template = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the template to generate.
$source = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The source key of the selected template data source.
$singlefile = true; // Boolean | True if all the templates should be placed in the same file, false if each one shoud be in its own file.
$userid = userid_example; // String | Only the template for these users is created (and emailed if 'email' is true), enter multiple separated by commas.
$forsending = true; // Boolean | It specifies the purpose of the creation of the templates. If true then is for sending via e-mail, otherwise is just for downloading
$role = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | When printing all badges, filter by person type, can be either: attendee, presenter or exhibitor
$filters = filters_example; // String | Pipe separated filters for the generation, eg: aaa=val|bbb=val|...

try {
    $api_instance->templategenerate($token, $template, $source, $singlefile, $userid, $forsending, $role, $filters);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->templategenerate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $template = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the template to generate.
my $source = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The source key of the selected template data source.
my $singlefile = true; # Boolean | True if all the templates should be placed in the same file, false if each one shoud be in its own file.
my $userid = userid_example; # String | Only the template for these users is created (and emailed if 'email' is true), enter multiple separated by commas.
my $forsending = true; # Boolean | It specifies the purpose of the creation of the templates. If true then is for sending via e-mail, otherwise is just for downloading
my $role = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | When printing all badges, filter by person type, can be either: attendee, presenter or exhibitor
my $filters = filters_example; # String | Pipe separated filters for the generation, eg: aaa=val|bbb=val|...

eval { 
    $api_instance->templategenerate(token => $token, template => $template, source => $source, singlefile => $singlefile, userid => $userid, forsending => $forsending, role => $role, filters => $filters);
};
if ($@) {
    warn "Exception when calling DefaultApi->templategenerate: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
template = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the template to generate. (default to null)
source = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The source key of the selected template data source. (default to null)
singlefile = true # Boolean | True if all the templates should be placed in the same file, false if each one shoud be in its own file. (default to null)
userid = userid_example # String | Only the template for these users is created (and emailed if 'email' is true), enter multiple separated by commas. (optional) (default to null)
forsending = true # Boolean | It specifies the purpose of the creation of the templates. If true then is for sending via e-mail, otherwise is just for downloading (optional) (default to null)
role = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | When printing all badges, filter by person type, can be either: attendee, presenter or exhibitor (optional) (default to null)
filters = filters_example # String | Pipe separated filters for the generation, eg: aaa=val|bbb=val|... (optional) (default to null)

try: 
    # Generate specified templates
    api_instance.templategenerate(token, template, source, singlefile, userid=userid, forsending=forsending, role=role, filters=filters)
except ApiException as e:
    print("Exception when calling DefaultApi->templategenerate: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let template = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let source = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let singlefile = true; // Boolean
    let userid = userid_example; // String
    let forsending = true; // Boolean
    let role = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let filters = filters_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.templategenerate(token, template, source, singlefile, userid, forsending, role, filters, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
template*
UUID (uuid)
The id of the template to generate.
Required
source*
UUID (uuid)
The source key of the selected template data source.
Required
singlefile*
Boolean
True if all the templates should be placed in the same file, false if each one shoud be in its own file.
Required
userid
String
Only the template for these users is created (and emailed if 'email' is true), enter multiple separated by commas.
forsending
Boolean
It specifies the purpose of the creation of the templates. If true then is for sending via e-mail, otherwise is just for downloading
role
UUID (uuid)
When printing all badges, filter by person type, can be either: attendee, presenter or exhibitor
filters
String
Pipe separated filters for the generation, eg: aaa=val|bbb=val|...

Responses


templateget

View details of a template

Allows the user to view a template and its details.


/templateget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/templateget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the template to get.
        try {
            apiInstance.templateget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templateget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the template to get.
        try {
            apiInstance.templateget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templateget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the template to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a template
[apiInstance templategetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the template to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.templateget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class templategetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the template to get. (default to null)

            try
            {
                // View details of a template
                apiInstance.templateget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.templateget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the template to get.

try {
    $api_instance->templateget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->templateget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the template to get.

eval { 
    $api_instance->templateget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->templateget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the template to get. (default to null)

try: 
    # View details of a template
    api_instance.templateget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->templateget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.templateget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the template to get.
Required

Responses


templategetgenerated

View generated templates

Allows the user to view templates which have been generated as badges or certificates.


/templategetgenerated

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/templategetgenerated?token=&jobid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String jobid = jobid_example; // String | The id of the job that is creating the templates.
        try {
            apiInstance.templategetgenerated(token, jobid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templategetgenerated");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String jobid = jobid_example; // String | The id of the job that is creating the templates.
        try {
            apiInstance.templategetgenerated(token, jobid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templategetgenerated");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *jobid = jobid_example; // The id of the job that is creating the templates. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View generated templates
[apiInstance templategetgeneratedWith:token
    jobid:jobid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var jobid = jobid_example; // {String} The id of the job that is creating the templates.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.templategetgenerated(token, jobid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class templategetgeneratedExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var jobid = jobid_example;  // String | The id of the job that is creating the templates. (default to null)

            try
            {
                // View generated templates
                apiInstance.templategetgenerated(token, jobid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.templategetgenerated: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$jobid = jobid_example; // String | The id of the job that is creating the templates.

try {
    $api_instance->templategetgenerated($token, $jobid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->templategetgenerated: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $jobid = jobid_example; # String | The id of the job that is creating the templates.

eval { 
    $api_instance->templategetgenerated(token => $token, jobid => $jobid);
};
if ($@) {
    warn "Exception when calling DefaultApi->templategetgenerated: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
jobid = jobid_example # String | The id of the job that is creating the templates. (default to null)

try: 
    # View generated templates
    api_instance.templategetgenerated(token, jobid)
except ApiException as e:
    print("Exception when calling DefaultApi->templategetgenerated: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let jobid = jobid_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.templategetgenerated(token, jobid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
jobid*
String
The id of the job that is creating the templates.
Required

Responses


templatelist

View a list of defined templates

Allows the user to view the full list of created templates.


/templatelist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/templatelist?token=&from=&count=&kind=&designedonly="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String kind = kind_example; // String | The kind of the templates to return. It must be included in (badge, certificate).
        Boolean designedonly = true; // Boolean | If true then it only returns the templates that were designed. Otherwise, it returns all.
        try {
            apiInstance.templatelist(token, from, count, kind, designedonly);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templatelist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String kind = kind_example; // String | The kind of the templates to return. It must be included in (badge, certificate).
        Boolean designedonly = true; // Boolean | If true then it only returns the templates that were designed. Otherwise, it returns all.
        try {
            apiInstance.templatelist(token, from, count, kind, designedonly);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templatelist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
String *kind = kind_example; // The kind of the templates to return. It must be included in (badge, certificate). (default to null)
Boolean *designedonly = true; // If true then it only returns the templates that were designed. Otherwise, it returns all. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of defined templates
[apiInstance templatelistWith:token
    from:from
    count:count
    kind:kind
    designedonly:designedonly
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var kind = kind_example; // {String} The kind of the templates to return. It must be included in (badge, certificate).
var opts = {
  'designedonly': true // {Boolean} If true then it only returns the templates that were designed. Otherwise, it returns all.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.templatelist(token, from, count, kind, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class templatelistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var kind = kind_example;  // String | The kind of the templates to return. It must be included in (badge, certificate). (default to null)
            var designedonly = true;  // Boolean | If true then it only returns the templates that were designed. Otherwise, it returns all. (optional)  (default to null)

            try
            {
                // View a list of defined templates
                apiInstance.templatelist(token, from, count, kind, designedonly);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.templatelist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$kind = kind_example; // String | The kind of the templates to return. It must be included in (badge, certificate).
$designedonly = true; // Boolean | If true then it only returns the templates that were designed. Otherwise, it returns all.

try {
    $api_instance->templatelist($token, $from, $count, $kind, $designedonly);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->templatelist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $kind = kind_example; # String | The kind of the templates to return. It must be included in (badge, certificate).
my $designedonly = true; # Boolean | If true then it only returns the templates that were designed. Otherwise, it returns all.

eval { 
    $api_instance->templatelist(token => $token, from => $from, count => $count, kind => $kind, designedonly => $designedonly);
};
if ($@) {
    warn "Exception when calling DefaultApi->templatelist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
kind = kind_example # String | The kind of the templates to return. It must be included in (badge, certificate). (default to null)
designedonly = true # Boolean | If true then it only returns the templates that were designed. Otherwise, it returns all. (optional) (default to null)

try: 
    # View a list of defined templates
    api_instance.templatelist(token, from, count, kind, designedonly=designedonly)
except ApiException as e:
    print("Exception when calling DefaultApi->templatelist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let kind = kind_example; // String
    let designedonly = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.templatelist(token, from, count, kind, designedonly, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
kind*
String
The kind of the templates to return. It must be included in (badge, certificate).
Required
designedonly
Boolean
If true then it only returns the templates that were designed. Otherwise, it returns all.

Responses


templatelistsources

View a list of templates' data sources

Allows the user to see tokens to be used in the template


/templatelistsources

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/templatelistsources?token=&kind="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String kind = kind_example; // String | The kind of the templates to return. It must be included in (badge, certificate).
        try {
            apiInstance.templatelistsources(token, kind);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templatelistsources");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String kind = kind_example; // String | The kind of the templates to return. It must be included in (badge, certificate).
        try {
            apiInstance.templatelistsources(token, kind);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templatelistsources");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *kind = kind_example; // The kind of the templates to return. It must be included in (badge, certificate). (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of templates' data sources
[apiInstance templatelistsourcesWith:token
    kind:kind
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var kind = kind_example; // {String} The kind of the templates to return. It must be included in (badge, certificate).

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.templatelistsources(token, kind, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class templatelistsourcesExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var kind = kind_example;  // String | The kind of the templates to return. It must be included in (badge, certificate). (default to null)

            try
            {
                // View a list of templates' data sources
                apiInstance.templatelistsources(token, kind);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.templatelistsources: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$kind = kind_example; // String | The kind of the templates to return. It must be included in (badge, certificate).

try {
    $api_instance->templatelistsources($token, $kind);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->templatelistsources: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $kind = kind_example; # String | The kind of the templates to return. It must be included in (badge, certificate).

eval { 
    $api_instance->templatelistsources(token => $token, kind => $kind);
};
if ($@) {
    warn "Exception when calling DefaultApi->templatelistsources: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
kind = kind_example # String | The kind of the templates to return. It must be included in (badge, certificate). (default to null)

try: 
    # View a list of templates' data sources
    api_instance.templatelistsources(token, kind)
except ApiException as e:
    print("Exception when calling DefaultApi->templatelistsources: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let kind = kind_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.templatelistsources(token, kind, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
kind*
String
The kind of the templates to return. It must be included in (badge, certificate).
Required

Responses


templatesave

Create or edit a template

Allows the user to create or edit a template.


/templatesave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/templatesave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.templatesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templatesave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.templatesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templatesave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a template
[apiInstance templatesaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.templatesave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class templatesaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a template
                apiInstance.templatesave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.templatesave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->templatesave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->templatesave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->templatesave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->templatesave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a template
    api_instance.templatesave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->templatesave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.templatesave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


templatesavelayout

Save the layout of a template

Allows the user to edit a template's layout.


/templatesavelayout

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/templatesavelayout"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.templatesavelayout(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templatesavelayout");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.templatesavelayout(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#templatesavelayout");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Save the layout of a template
[apiInstance templatesavelayoutWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.templatesavelayout(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class templatesavelayoutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Save the layout of a template
                apiInstance.templatesavelayout(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.templatesavelayout: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->templatesavelayout($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->templatesavelayout: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->templatesavelayout(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->templatesavelayout: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Save the layout of a template
    api_instance.templatesavelayout(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->templatesavelayout: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.templatesavelayout(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


termdelete

Delete a term

Allows the user to delete a term from the existing list.


/termdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/termdelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the term to delete.
        try {
            apiInstance.termdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#termdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the term to delete.
        try {
            apiInstance.termdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#termdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the term to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a term
[apiInstance termdeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the term to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.termdelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class termdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the term to delete. (default to null)

            try
            {
                // Delete a term
                apiInstance.termdelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.termdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the term to delete.

try {
    $api_instance->termdelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->termdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the term to delete.

eval { 
    $api_instance->termdelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->termdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the term to delete. (default to null)

try: 
    # Delete a term
    api_instance.termdelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->termdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.termdelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the term to delete.
Required

Responses


termget

Search and view details of a term

Allows the user to view a term and its details.


/termget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/termget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the term to get.
        try {
            apiInstance.termget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#termget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the term to get.
        try {
            apiInstance.termget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#termget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the term to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of a term
[apiInstance termgetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the term to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.termget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class termgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the term to get. (default to null)

            try
            {
                // Search and view details of a term
                apiInstance.termget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.termget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the term to get.

try {
    $api_instance->termget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->termget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the term to get.

eval { 
    $api_instance->termget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->termget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the term to get. (default to null)

try: 
    # Search and view details of a term
    api_instance.termget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->termget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.termget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the term to get.
Required

Responses


termlist

Search and view details of all terms

Allows the user to view the full list of existing term.


/termlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/termlist?token=&from=&count=¬past="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Boolean notpast = true; // Boolean | Specifies whether the terms in the past should be returned or not.
        try {
            apiInstance.termlist(token, from, count, notpast);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#termlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        Boolean notpast = true; // Boolean | Specifies whether the terms in the past should be returned or not.
        try {
            apiInstance.termlist(token, from, count, notpast);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#termlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (optional) (default to null)
Integer *count = 56; // The max number of records to return. (optional) (default to null)
Boolean *notpast = true; // Specifies whether the terms in the past should be returned or not. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of all terms
[apiInstance termlistWith:token
    from:from
    count:count
    notpast:notpast
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'from': 56, // {Integer} The first record to return.
  'count': 56, // {Integer} The max number of records to return.
  'notpast': true // {Boolean} Specifies whether the terms in the past should be returned or not.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.termlist(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class termlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (optional)  (default to null)
            var count = 56;  // Integer | The max number of records to return. (optional)  (default to null)
            var notpast = true;  // Boolean | Specifies whether the terms in the past should be returned or not. (optional)  (default to null)

            try
            {
                // Search and view details of all terms
                apiInstance.termlist(token, from, count, notpast);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.termlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$notpast = true; // Boolean | Specifies whether the terms in the past should be returned or not.

try {
    $api_instance->termlist($token, $from, $count, $notpast);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->termlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $notpast = true; # Boolean | Specifies whether the terms in the past should be returned or not.

eval { 
    $api_instance->termlist(token => $token, from => $from, count => $count, notpast => $notpast);
};
if ($@) {
    warn "Exception when calling DefaultApi->termlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (optional) (default to null)
count = 56 # Integer | The max number of records to return. (optional) (default to null)
notpast = true # Boolean | Specifies whether the terms in the past should be returned or not. (optional) (default to null)

try: 
    # Search and view details of all terms
    api_instance.termlist(token, from=from, count=count, notpast=notpast)
except ApiException as e:
    print("Exception when calling DefaultApi->termlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let notpast = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.termlist(token, from, count, notpast, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from
Integer (int32)
The first record to return.
count
Integer (int32)
The max number of records to return.
notpast
Boolean
Specifies whether the terms in the past should be returned or not.

Responses


termsave

Create and edit terms

Allows the user to create and edit terms.


/termsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/termsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.termsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#termsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.termsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#termsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create and edit terms
[apiInstance termsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.termsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class termsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create and edit terms
                apiInstance.termsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.termsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->termsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->termsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->termsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->termsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create and edit terms
    api_instance.termsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->termsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.termsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


textcreditremaining

Gets the remaining text credits for the account


/textcreditremaining

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/textcreditremaining?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.textcreditremaining(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#textcreditremaining");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.textcreditremaining(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#textcreditremaining");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the remaining text credits for the account
[apiInstance textcreditremainingWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.textcreditremaining(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class textcreditremainingExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Gets the remaining text credits for the account
                apiInstance.textcreditremaining(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.textcreditremaining: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->textcreditremaining($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->textcreditremaining: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->textcreditremaining(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->textcreditremaining: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Gets the remaining text credits for the account
    api_instance.textcreditremaining(token)
except ApiException as e:
    print("Exception when calling DefaultApi->textcreditremaining: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.textcreditremaining(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


texttoimage

Generates a dynamic image from text


/texttoimage

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/texttoimage?token=&text=&fontcolor=&fontsize=&direction=&width="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String text = text_example; // String | The text to convert to an image, use double pipes (||) as a new line.
        String fontcolor = fontcolor_example; // String | The color of the text, in hex format, without the #.
        Integer fontsize = 56; // Integer | The size of the text, in points.
        String direction = direction_example; // String | Either vertical or horizontal, default horizontal.
        Integer width = 56; // Integer | The image width in pixels (or height if the direction is vertical).
        try {
            apiInstance.texttoimage(token, text, fontcolor, fontsize, direction, width);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#texttoimage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String text = text_example; // String | The text to convert to an image, use double pipes (||) as a new line.
        String fontcolor = fontcolor_example; // String | The color of the text, in hex format, without the #.
        Integer fontsize = 56; // Integer | The size of the text, in points.
        String direction = direction_example; // String | Either vertical or horizontal, default horizontal.
        Integer width = 56; // Integer | The image width in pixels (or height if the direction is vertical).
        try {
            apiInstance.texttoimage(token, text, fontcolor, fontsize, direction, width);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#texttoimage");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *text = text_example; // The text to convert to an image, use double pipes (||) as a new line. (default to null)
String *fontcolor = fontcolor_example; // The color of the text, in hex format, without the #. (optional) (default to null)
Integer *fontsize = 56; // The size of the text, in points. (optional) (default to null)
String *direction = direction_example; // Either vertical or horizontal, default horizontal. (optional) (default to null)
Integer *width = 56; // The image width in pixels (or height if the direction is vertical). (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Generates a dynamic image from text
[apiInstance texttoimageWith:token
    text:text
    fontcolor:fontcolor
    fontsize:fontsize
    direction:direction
    width:width
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var text = text_example; // {String} The text to convert to an image, use double pipes (||) as a new line.
var opts = {
  'fontcolor': fontcolor_example, // {String} The color of the text, in hex format, without the #.
  'fontsize': 56, // {Integer} The size of the text, in points.
  'direction': direction_example, // {String} Either vertical or horizontal, default horizontal.
  'width': 56 // {Integer} The image width in pixels (or height if the direction is vertical).
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.texttoimage(token, text, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class texttoimageExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var text = text_example;  // String | The text to convert to an image, use double pipes (||) as a new line. (default to null)
            var fontcolor = fontcolor_example;  // String | The color of the text, in hex format, without the #. (optional)  (default to null)
            var fontsize = 56;  // Integer | The size of the text, in points. (optional)  (default to null)
            var direction = direction_example;  // String | Either vertical or horizontal, default horizontal. (optional)  (default to null)
            var width = 56;  // Integer | The image width in pixels (or height if the direction is vertical). (optional)  (default to null)

            try
            {
                // Generates a dynamic image from text
                apiInstance.texttoimage(token, text, fontcolor, fontsize, direction, width);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.texttoimage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$text = text_example; // String | The text to convert to an image, use double pipes (||) as a new line.
$fontcolor = fontcolor_example; // String | The color of the text, in hex format, without the #.
$fontsize = 56; // Integer | The size of the text, in points.
$direction = direction_example; // String | Either vertical or horizontal, default horizontal.
$width = 56; // Integer | The image width in pixels (or height if the direction is vertical).

try {
    $api_instance->texttoimage($token, $text, $fontcolor, $fontsize, $direction, $width);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->texttoimage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $text = text_example; # String | The text to convert to an image, use double pipes (||) as a new line.
my $fontcolor = fontcolor_example; # String | The color of the text, in hex format, without the #.
my $fontsize = 56; # Integer | The size of the text, in points.
my $direction = direction_example; # String | Either vertical or horizontal, default horizontal.
my $width = 56; # Integer | The image width in pixels (or height if the direction is vertical).

eval { 
    $api_instance->texttoimage(token => $token, text => $text, fontcolor => $fontcolor, fontsize => $fontsize, direction => $direction, width => $width);
};
if ($@) {
    warn "Exception when calling DefaultApi->texttoimage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
text = text_example # String | The text to convert to an image, use double pipes (||) as a new line. (default to null)
fontcolor = fontcolor_example # String | The color of the text, in hex format, without the #. (optional) (default to null)
fontsize = 56 # Integer | The size of the text, in points. (optional) (default to null)
direction = direction_example # String | Either vertical or horizontal, default horizontal. (optional) (default to null)
width = 56 # Integer | The image width in pixels (or height if the direction is vertical). (optional) (default to null)

try: 
    # Generates a dynamic image from text
    api_instance.texttoimage(token, text, fontcolor=fontcolor, fontsize=fontsize, direction=direction, width=width)
except ApiException as e:
    print("Exception when calling DefaultApi->texttoimage: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let text = text_example; // String
    let fontcolor = fontcolor_example; // String
    let fontsize = 56; // Integer
    let direction = direction_example; // String
    let width = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.texttoimage(token, text, fontcolor, fontsize, direction, width, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
text*
String
The text to convert to an image, use double pipes (||) as a new line.
Required
fontcolor
String
The color of the text, in hex format, without the #.
fontsize
Integer (int32)
The size of the text, in points.
direction
String
Either vertical or horizontal, default horizontal.
width
Integer (int32)
The image width in pixels (or height if the direction is vertical).

Responses


translationget

Gets the translations of the specified values


/translationget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/translationget?token=&universal="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String universal = universal_example; // String | Pipe separated list of universal text to be translated.
        try {
            apiInstance.translationget(token, universal);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#translationget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String universal = universal_example; // String | Pipe separated list of universal text to be translated.
        try {
            apiInstance.translationget(token, universal);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#translationget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *universal = universal_example; // Pipe separated list of universal text to be translated. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the translations of the specified values
[apiInstance translationgetWith:token
    universal:universal
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var universal = universal_example; // {String} Pipe separated list of universal text to be translated.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.translationget(token, universal, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class translationgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var universal = universal_example;  // String | Pipe separated list of universal text to be translated. (default to null)

            try
            {
                // Gets the translations of the specified values
                apiInstance.translationget(token, universal);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.translationget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$universal = universal_example; // String | Pipe separated list of universal text to be translated.

try {
    $api_instance->translationget($token, $universal);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->translationget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $universal = universal_example; # String | Pipe separated list of universal text to be translated.

eval { 
    $api_instance->translationget(token => $token, universal => $universal);
};
if ($@) {
    warn "Exception when calling DefaultApi->translationget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
universal = universal_example # String | Pipe separated list of universal text to be translated. (default to null)

try: 
    # Gets the translations of the specified values
    api_instance.translationget(token, universal)
except ApiException as e:
    print("Exception when calling DefaultApi->translationget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let universal = universal_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.translationget(token, universal, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
universal*
String
Pipe separated list of universal text to be translated.
Required

Responses


translationgetcachefile

Get the file containing the translations


/translationgetcachefile

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/translationgetcachefile?token=&account="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String account = account_example; // String | The id of the account whose translations file has to be retrieved.
        try {
            apiInstance.translationgetcachefile(token, account);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#translationgetcachefile");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String account = account_example; // String | The id of the account whose translations file has to be retrieved.
        try {
            apiInstance.translationgetcachefile(token, account);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#translationgetcachefile");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (optional) (default to null)
String *account = account_example; // The id of the account whose translations file has to be retrieved. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get the file containing the translations
[apiInstance translationgetcachefileWith:token
    account:account
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'token': token_example, // {String} The authentication token.
  'account': account_example // {String} The id of the account whose translations file has to be retrieved.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.translationgetcachefile(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class translationgetcachefileExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (optional)  (default to null)
            var account = account_example;  // String | The id of the account whose translations file has to be retrieved. (optional)  (default to null)

            try
            {
                // Get the file containing the translations
                apiInstance.translationgetcachefile(token, account);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.translationgetcachefile: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$account = account_example; // String | The id of the account whose translations file has to be retrieved.

try {
    $api_instance->translationgetcachefile($token, $account);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->translationgetcachefile: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $account = account_example; # String | The id of the account whose translations file has to be retrieved.

eval { 
    $api_instance->translationgetcachefile(token => $token, account => $account);
};
if ($@) {
    warn "Exception when calling DefaultApi->translationgetcachefile: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (optional) (default to null)
account = account_example # String | The id of the account whose translations file has to be retrieved. (optional) (default to null)

try: 
    # Get the file containing the translations
    api_instance.translationgetcachefile(token=token, account=account)
except ApiException as e:
    print("Exception when calling DefaultApi->translationgetcachefile: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let account = account_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.translationgetcachefile(token, account, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token
String
The authentication token.
account
String
The id of the account whose translations file has to be retrieved.

Responses


translationlist

Lists all the available translations in the system


/translationlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/translationlist?token=&filter=&nondefaultonly=&appdefaultasuniversal="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String filter = filter_example; // String | Text to search/filter translations.
        Boolean nondefaultonly = true; // Boolean | If true then it returns only the terms translated. Otherwise, it returns all.
        Boolean appdefaultasuniversal = true; // Boolean | If true then it uses the app default translation as the universal term.
        try {
            apiInstance.translationlist(token, filter, nondefaultonly, appdefaultasuniversal);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#translationlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String filter = filter_example; // String | Text to search/filter translations.
        Boolean nondefaultonly = true; // Boolean | If true then it returns only the terms translated. Otherwise, it returns all.
        Boolean appdefaultasuniversal = true; // Boolean | If true then it uses the app default translation as the universal term.
        try {
            apiInstance.translationlist(token, filter, nondefaultonly, appdefaultasuniversal);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#translationlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *filter = filter_example; // Text to search/filter translations. (optional) (default to null)
Boolean *nondefaultonly = true; // If true then it returns only the terms translated. Otherwise, it returns all. (optional) (default to null)
Boolean *appdefaultasuniversal = true; // If true then it uses the app default translation as the universal term. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists all the available translations in the system
[apiInstance translationlistWith:token
    filter:filter
    nondefaultonly:nondefaultonly
    appdefaultasuniversal:appdefaultasuniversal
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'filter': filter_example, // {String} Text to search/filter translations.
  'nondefaultonly': true, // {Boolean} If true then it returns only the terms translated. Otherwise, it returns all.
  'appdefaultasuniversal': true // {Boolean} If true then it uses the app default translation as the universal term.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.translationlist(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class translationlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var filter = filter_example;  // String | Text to search/filter translations. (optional)  (default to null)
            var nondefaultonly = true;  // Boolean | If true then it returns only the terms translated. Otherwise, it returns all. (optional)  (default to null)
            var appdefaultasuniversal = true;  // Boolean | If true then it uses the app default translation as the universal term. (optional)  (default to null)

            try
            {
                // Lists all the available translations in the system
                apiInstance.translationlist(token, filter, nondefaultonly, appdefaultasuniversal);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.translationlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$filter = filter_example; // String | Text to search/filter translations.
$nondefaultonly = true; // Boolean | If true then it returns only the terms translated. Otherwise, it returns all.
$appdefaultasuniversal = true; // Boolean | If true then it uses the app default translation as the universal term.

try {
    $api_instance->translationlist($token, $filter, $nondefaultonly, $appdefaultasuniversal);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->translationlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $filter = filter_example; # String | Text to search/filter translations.
my $nondefaultonly = true; # Boolean | If true then it returns only the terms translated. Otherwise, it returns all.
my $appdefaultasuniversal = true; # Boolean | If true then it uses the app default translation as the universal term.

eval { 
    $api_instance->translationlist(token => $token, filter => $filter, nondefaultonly => $nondefaultonly, appdefaultasuniversal => $appdefaultasuniversal);
};
if ($@) {
    warn "Exception when calling DefaultApi->translationlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
filter = filter_example # String | Text to search/filter translations. (optional) (default to null)
nondefaultonly = true # Boolean | If true then it returns only the terms translated. Otherwise, it returns all. (optional) (default to null)
appdefaultasuniversal = true # Boolean | If true then it uses the app default translation as the universal term. (optional) (default to null)

try: 
    # Lists all the available translations in the system
    api_instance.translationlist(token, filter=filter, nondefaultonly=nondefaultonly, appdefaultasuniversal=appdefaultasuniversal)
except ApiException as e:
    print("Exception when calling DefaultApi->translationlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let filter = filter_example; // String
    let nondefaultonly = true; // Boolean
    let appdefaultasuniversal = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.translationlist(token, filter, nondefaultonly, appdefaultasuniversal, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
filter
String
Text to search/filter translations.
nondefaultonly
Boolean
If true then it returns only the terms translated. Otherwise, it returns all.
appdefaultasuniversal
Boolean
If true then it uses the app default translation as the universal term.

Responses


translationsave

Edit a translation

Allows the user to edit a translation for the entire account.


/translationsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/translationsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.translationsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#translationsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.translationsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#translationsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Edit a translation
[apiInstance translationsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.translationsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class translationsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Edit a translation
                apiInstance.translationsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.translationsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->translationsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->translationsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->translationsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->translationsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Edit a translation
    api_instance.translationsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->translationsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.translationsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


userchangepwd

Change user's own password

Allows the user to change their own password.


/userchangepwd

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/userchangepwd?token=&oldpass=&newpass="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID oldpass = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The old password of the authenticated user.
        UUID newpass = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The new password of the authenticated user.
        try {
            apiInstance.userchangepwd(token, oldpass, newpass);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userchangepwd");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID oldpass = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The old password of the authenticated user.
        UUID newpass = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The new password of the authenticated user.
        try {
            apiInstance.userchangepwd(token, oldpass, newpass);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userchangepwd");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *oldpass = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The old password of the authenticated user. (default to null)
UUID *newpass = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The new password of the authenticated user. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Change user's own password
[apiInstance userchangepwdWith:token
    oldpass:oldpass
    newpass:newpass
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var oldpass = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The old password of the authenticated user.
var newpass = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The new password of the authenticated user.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.userchangepwd(token, oldpass, newpass, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class userchangepwdExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var oldpass = new UUID(); // UUID | The old password of the authenticated user. (default to null)
            var newpass = new UUID(); // UUID | The new password of the authenticated user. (default to null)

            try
            {
                // Change user's own password
                apiInstance.userchangepwd(token, oldpass, newpass);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.userchangepwd: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$oldpass = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The old password of the authenticated user.
$newpass = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The new password of the authenticated user.

try {
    $api_instance->userchangepwd($token, $oldpass, $newpass);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->userchangepwd: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $oldpass = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The old password of the authenticated user.
my $newpass = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The new password of the authenticated user.

eval { 
    $api_instance->userchangepwd(token => $token, oldpass => $oldpass, newpass => $newpass);
};
if ($@) {
    warn "Exception when calling DefaultApi->userchangepwd: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
oldpass = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The old password of the authenticated user. (default to null)
newpass = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The new password of the authenticated user. (default to null)

try: 
    # Change user's own password
    api_instance.userchangepwd(token, oldpass, newpass)
except ApiException as e:
    print("Exception when calling DefaultApi->userchangepwd: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let oldpass = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let newpass = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.userchangepwd(token, oldpass, newpass, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
oldpass*
UUID (uuid)
The old password of the authenticated user.
Required
newpass*
UUID (uuid)
The new password of the authenticated user.
Required

Responses


userchangepwdbyreq

Changes the user password using a change password request id


/userchangepwdbyreq

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/userchangepwdbyreq?changereq=&newpass="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String changereq = changereq_example; // String | The change password request ID sent by email to the user.
        String newpass = newpass_example; // String | The new password of the user.
        try {
            apiInstance.userchangepwdbyreq(changereq, newpass);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userchangepwdbyreq");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String changereq = changereq_example; // String | The change password request ID sent by email to the user.
        String newpass = newpass_example; // String | The new password of the user.
        try {
            apiInstance.userchangepwdbyreq(changereq, newpass);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userchangepwdbyreq");
            e.printStackTrace();
        }
    }
}
String *changereq = changereq_example; // The change password request ID sent by email to the user. (default to null)
String *newpass = newpass_example; // The new password of the user. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Changes the user password using a change password request id
[apiInstance userchangepwdbyreqWith:changereq
    newpass:newpass
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var changereq = changereq_example; // {String} The change password request ID sent by email to the user.
var newpass = newpass_example; // {String} The new password of the user.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.userchangepwdbyreq(changereq, newpass, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class userchangepwdbyreqExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var changereq = changereq_example;  // String | The change password request ID sent by email to the user. (default to null)
            var newpass = newpass_example;  // String | The new password of the user. (default to null)

            try
            {
                // Changes the user password using a change password request id
                apiInstance.userchangepwdbyreq(changereq, newpass);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.userchangepwdbyreq: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$changereq = changereq_example; // String | The change password request ID sent by email to the user.
$newpass = newpass_example; // String | The new password of the user.

try {
    $api_instance->userchangepwdbyreq($changereq, $newpass);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->userchangepwdbyreq: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $changereq = changereq_example; # String | The change password request ID sent by email to the user.
my $newpass = newpass_example; # String | The new password of the user.

eval { 
    $api_instance->userchangepwdbyreq(changereq => $changereq, newpass => $newpass);
};
if ($@) {
    warn "Exception when calling DefaultApi->userchangepwdbyreq: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
changereq = changereq_example # String | The change password request ID sent by email to the user. (default to null)
newpass = newpass_example # String | The new password of the user. (default to null)

try: 
    # Changes the user password using a change password request id
    api_instance.userchangepwdbyreq(changereq, newpass)
except ApiException as e:
    print("Exception when calling DefaultApi->userchangepwdbyreq: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let changereq = changereq_example; // String
    let newpass = newpass_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.userchangepwdbyreq(changereq, newpass, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
changereq*
String
The change password request ID sent by email to the user.
Required
newpass*
String
The new password of the user.
Required

Responses


userdelete

Delete a user

Allows the user to delete a user.


/userdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/userdelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to delete.
        try {
            apiInstance.userdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to delete.
        try {
            apiInstance.userdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a user
[apiInstance userdeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.userdelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class userdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the user to delete. (default to null)

            try
            {
                // Delete a user
                apiInstance.userdelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.userdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to delete.

try {
    $api_instance->userdelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->userdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to delete.

eval { 
    $api_instance->userdelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->userdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to delete. (default to null)

try: 
    # Delete a user
    api_instance.userdelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->userdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.userdelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the user to delete.
Required

Responses


userfindsimilar

Finds similar users to prevent duplicates

Allows the user to be warned if a user they are creating has the same card number as another user.


/userfindsimilar

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/userfindsimilar?token=¤tid=&phonenumber=&cardnumber="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID currentid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the current user.
        String phonenumber = phonenumber_example; // String | A phone number to search for similar users.
        String cardnumber = cardnumber_example; // String | A card number to search for similar users.
        try {
            apiInstance.userfindsimilar(token, currentid, phonenumber, cardnumber);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userfindsimilar");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID currentid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the current user.
        String phonenumber = phonenumber_example; // String | A phone number to search for similar users.
        String cardnumber = cardnumber_example; // String | A card number to search for similar users.
        try {
            apiInstance.userfindsimilar(token, currentid, phonenumber, cardnumber);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userfindsimilar");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *currentid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the current user. (optional) (default to null)
String *phonenumber = phonenumber_example; // A phone number to search for similar users. (optional) (default to null)
String *cardnumber = cardnumber_example; // A card number to search for similar users. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Finds similar users to prevent duplicates
[apiInstance userfindsimilarWith:token
    currentid:currentid
    phonenumber:phonenumber
    cardnumber:cardnumber
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'currentid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the current user.
  'phonenumber': phonenumber_example, // {String} A phone number to search for similar users.
  'cardnumber': cardnumber_example // {String} A card number to search for similar users.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.userfindsimilar(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class userfindsimilarExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var currentid = new UUID(); // UUID | The id of the current user. (optional)  (default to null)
            var phonenumber = phonenumber_example;  // String | A phone number to search for similar users. (optional)  (default to null)
            var cardnumber = cardnumber_example;  // String | A card number to search for similar users. (optional)  (default to null)

            try
            {
                // Finds similar users to prevent duplicates
                apiInstance.userfindsimilar(token, currentid, phonenumber, cardnumber);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.userfindsimilar: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$currentid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the current user.
$phonenumber = phonenumber_example; // String | A phone number to search for similar users.
$cardnumber = cardnumber_example; // String | A card number to search for similar users.

try {
    $api_instance->userfindsimilar($token, $currentid, $phonenumber, $cardnumber);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->userfindsimilar: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $currentid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the current user.
my $phonenumber = phonenumber_example; # String | A phone number to search for similar users.
my $cardnumber = cardnumber_example; # String | A card number to search for similar users.

eval { 
    $api_instance->userfindsimilar(token => $token, currentid => $currentid, phonenumber => $phonenumber, cardnumber => $cardnumber);
};
if ($@) {
    warn "Exception when calling DefaultApi->userfindsimilar: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
currentid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the current user. (optional) (default to null)
phonenumber = phonenumber_example # String | A phone number to search for similar users. (optional) (default to null)
cardnumber = cardnumber_example # String | A card number to search for similar users. (optional) (default to null)

try: 
    # Finds similar users to prevent duplicates
    api_instance.userfindsimilar(token, currentid=currentid, phonenumber=phonenumber, cardnumber=cardnumber)
except ApiException as e:
    print("Exception when calling DefaultApi->userfindsimilar: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let currentid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let phonenumber = phonenumber_example; // String
    let cardnumber = cardnumber_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.userfindsimilar(token, currentid, phonenumber, cardnumber, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
currentid
UUID (uuid)
The id of the current user.
phonenumber
String
A phone number to search for similar users.
cardnumber
String
A card number to search for similar users.

Responses


userget

Search and view details of a user

Allows the user to search and view a user and their details.


/userget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/userget?token=&id=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to get.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.userget(token, id, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to get.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.userget(token, id, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to get. (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of a user
[apiInstance usergetWith:token
    id:id
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to get.
var opts = {
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.userget(token, id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usergetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the user to get. (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // Search and view details of a user
                apiInstance.userget(token, id, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.userget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to get.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->userget($token, $id, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->userget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to get.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->userget(token => $token, id => $id, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->userget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to get. (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # Search and view details of a user
    api_instance.userget(token, id, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->userget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.userget(token, id, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the user to get.
Required
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


usergetbycard

Search user by card number

Allows the user to search for a user by their card number.


/usergetbycard

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/usergetbycard?token=&card=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String card = card_example; // String | The card number of the user to get.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.usergetbycard(token, card, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergetbycard");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String card = card_example; // String | The card number of the user to get.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.usergetbycard(token, card, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergetbycard");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *card = card_example; // The card number of the user to get. (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search user by card number
[apiInstance usergetbycardWith:token
    card:card
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var card = card_example; // {String} The card number of the user to get.
var opts = {
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usergetbycard(token, card, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usergetbycardExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var card = card_example;  // String | The card number of the user to get. (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // Search user by card number
                apiInstance.usergetbycard(token, card, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usergetbycard: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$card = card_example; // String | The card number of the user to get.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->usergetbycard($token, $card, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usergetbycard: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $card = card_example; # String | The card number of the user to get.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->usergetbycard(token => $token, card => $card, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->usergetbycard: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
card = card_example # String | The card number of the user to get. (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # Search user by card number
    api_instance.usergetbycard(token, card, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->usergetbycard: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let card = card_example; // String
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.usergetbycard(token, card, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
card*
String
The card number of the user to get.
Required
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


usergroupaddmember

Add a user to a group

Allows the user to add a user to a group that they have permission to edit.


/usergroupaddmember

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/usergroupaddmember?token=&userid=&groupid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
        UUID groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group.
        try {
            apiInstance.usergroupaddmember(token, userid, groupid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergroupaddmember");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
        UUID groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group.
        try {
            apiInstance.usergroupaddmember(token, userid, groupid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergroupaddmember");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to add. (default to null)
UUID *groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the group. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Add a user to a group
[apiInstance usergroupaddmemberWith:token
    userid:userid
    groupid:groupid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to add.
var groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the group.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usergroupaddmember(token, userid, groupid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usergroupaddmemberExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to add. (default to null)
            var groupid = new UUID(); // UUID | The id of the group. (default to null)

            try
            {
                // Add a user to a group
                apiInstance.usergroupaddmember(token, userid, groupid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usergroupaddmember: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to add.
$groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group.

try {
    $api_instance->usergroupaddmember($token, $userid, $groupid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usergroupaddmember: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to add.
my $groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the group.

eval { 
    $api_instance->usergroupaddmember(token => $token, userid => $userid, groupid => $groupid);
};
if ($@) {
    warn "Exception when calling DefaultApi->usergroupaddmember: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to add. (default to null)
groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the group. (default to null)

try: 
    # Add a user to a group
    api_instance.usergroupaddmember(token, userid, groupid)
except ApiException as e:
    print("Exception when calling DefaultApi->usergroupaddmember: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.usergroupaddmember(token, userid, groupid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to add.
Required
groupid*
UUID (uuid)
The id of the group.
Required

Responses


usergroupdelete

Delete a group

Allows the user to delete a group that they have permission to edit.


/usergroupdelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/usergroupdelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group to delete.
        try {
            apiInstance.usergroupdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergroupdelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group to delete.
        try {
            apiInstance.usergroupdelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergroupdelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the group to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a group
[apiInstance usergroupdeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the group to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usergroupdelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usergroupdeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the group to delete. (default to null)

            try
            {
                // Delete a group
                apiInstance.usergroupdelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usergroupdelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group to delete.

try {
    $api_instance->usergroupdelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usergroupdelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the group to delete.

eval { 
    $api_instance->usergroupdelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->usergroupdelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the group to delete. (default to null)

try: 
    # Delete a group
    api_instance.usergroupdelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->usergroupdelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.usergroupdelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the group to delete.
Required

Responses


usergroupget

Search and view details of a user group

Allows the user to view a user group and its details.


/usergroupget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/usergroupget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user group to get.
        try {
            apiInstance.usergroupget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergroupget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user group to get.
        try {
            apiInstance.usergroupget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergroupget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user group to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Search and view details of a user group
[apiInstance usergroupgetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user group to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usergroupget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usergroupgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the user group to get. (default to null)

            try
            {
                // Search and view details of a user group
                apiInstance.usergroupget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usergroupget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user group to get.

try {
    $api_instance->usergroupget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usergroupget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user group to get.

eval { 
    $api_instance->usergroupget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->usergroupget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user group to get. (default to null)

try: 
    # Search and view details of a user group
    api_instance.usergroupget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->usergroupget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.usergroupget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the user group to get.
Required

Responses


usergroupgetmembers

View the members of a user group

Allows the user to view the list of users in a group that they have permission to view.


/usergroupgetmembers

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/usergroupgetmembers?token=&groupid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user group to get.
        try {
            apiInstance.usergroupgetmembers(token, groupid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergroupgetmembers");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user group to get.
        try {
            apiInstance.usergroupgetmembers(token, groupid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergroupgetmembers");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user group to get. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View the members of a user group
[apiInstance usergroupgetmembersWith:token
    groupid:groupid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user group to get.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usergroupgetmembers(token, groupid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usergroupgetmembersExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var groupid = new UUID(); // UUID | The id of the user group to get. (default to null)

            try
            {
                // View the members of a user group
                apiInstance.usergroupgetmembers(token, groupid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usergroupgetmembers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user group to get.

try {
    $api_instance->usergroupgetmembers($token, $groupid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usergroupgetmembers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user group to get.

eval { 
    $api_instance->usergroupgetmembers(token => $token, groupid => $groupid);
};
if ($@) {
    warn "Exception when calling DefaultApi->usergroupgetmembers: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user group to get. (default to null)

try: 
    # View the members of a user group
    api_instance.usergroupgetmembers(token, groupid)
except ApiException as e:
    print("Exception when calling DefaultApi->usergroupgetmembers: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.usergroupgetmembers(token, groupid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
groupid*
UUID (uuid)
The id of the user group to get.
Required

Responses


usergroupgetuser

View the groups which a user is registered to

Allows the user to view the groups an individual user is registered to, based on group and user permissions.


/usergroupgetuser

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/usergroupgetuser?token=&userid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to get his groups.
        try {
            apiInstance.usergroupgetuser(token, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergroupgetuser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to get his groups.
        try {
            apiInstance.usergroupgetuser(token, userid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergroupgetuser");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to get his groups. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View the groups which a user is registered to
[apiInstance usergroupgetuserWith:token
    userid:userid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to get his groups.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usergroupgetuser(token, userid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usergroupgetuserExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to get his groups. (default to null)

            try
            {
                // View the groups which a user is registered to
                apiInstance.usergroupgetuser(token, userid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usergroupgetuser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to get his groups.

try {
    $api_instance->usergroupgetuser($token, $userid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usergroupgetuser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to get his groups.

eval { 
    $api_instance->usergroupgetuser(token => $token, userid => $userid);
};
if ($@) {
    warn "Exception when calling DefaultApi->usergroupgetuser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to get his groups. (default to null)

try: 
    # View the groups which a user is registered to
    api_instance.usergroupgetuser(token, userid)
except ApiException as e:
    print("Exception when calling DefaultApi->usergroupgetuser: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.usergroupgetuser(token, userid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to get his groups.
Required

Responses


usergrouplist

View a list of user groups

Allows the user to view the list of groups that they have permission to view.


/usergrouplist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/usergrouplist?token=&from=&count=&type="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String type = type_example; // String | The type of the groups to return. Either 'user', 'dynamic' or any other type of group.
        try {
            apiInstance.usergrouplist(token, from, count, type);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergrouplist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        String type = type_example; // String | The type of the groups to return. Either 'user', 'dynamic' or any other type of group.
        try {
            apiInstance.usergrouplist(token, from, count, type);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergrouplist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (optional) (default to null)
Integer *count = 56; // The max number of records to return. (optional) (default to null)
String *type = type_example; // The type of the groups to return. Either 'user', 'dynamic' or any other type of group. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of user groups
[apiInstance usergrouplistWith:token
    from:from
    count:count
    type:type
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'from': 56, // {Integer} The first record to return.
  'count': 56, // {Integer} The max number of records to return.
  'type': type_example // {String} The type of the groups to return. Either 'user', 'dynamic' or any other type of group.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usergrouplist(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usergrouplistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (optional)  (default to null)
            var count = 56;  // Integer | The max number of records to return. (optional)  (default to null)
            var type = type_example;  // String | The type of the groups to return. Either 'user', 'dynamic' or any other type of group. (optional)  (default to null)

            try
            {
                // View a list of user groups
                apiInstance.usergrouplist(token, from, count, type);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usergrouplist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$type = type_example; // String | The type of the groups to return. Either 'user', 'dynamic' or any other type of group.

try {
    $api_instance->usergrouplist($token, $from, $count, $type);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usergrouplist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $type = type_example; # String | The type of the groups to return. Either 'user', 'dynamic' or any other type of group.

eval { 
    $api_instance->usergrouplist(token => $token, from => $from, count => $count, type => $type);
};
if ($@) {
    warn "Exception when calling DefaultApi->usergrouplist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (optional) (default to null)
count = 56 # Integer | The max number of records to return. (optional) (default to null)
type = type_example # String | The type of the groups to return. Either 'user', 'dynamic' or any other type of group. (optional) (default to null)

try: 
    # View a list of user groups
    api_instance.usergrouplist(token, from=from, count=count, type=type)
except ApiException as e:
    print("Exception when calling DefaultApi->usergrouplist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let type = type_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.usergrouplist(token, from, count, type, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from
Integer (int32)
The first record to return.
count
Integer (int32)
The max number of records to return.
type
String
The type of the groups to return. Either 'user', 'dynamic' or any other type of group.

Responses


usergrouprefresh

Refresh the dynamic group

Allows the user to refresh a dynamic group that they have permission to edit.


/usergrouprefresh

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/usergrouprefresh?token=&group="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the group to refresh.
        try {
            apiInstance.usergrouprefresh(token, group);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergrouprefresh");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the group to refresh.
        try {
            apiInstance.usergrouprefresh(token, group);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergrouprefresh");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The ID of the group to refresh. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Refresh the dynamic group
[apiInstance usergrouprefreshWith:token
    group:group
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The ID of the group to refresh.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usergrouprefresh(token, group, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usergrouprefreshExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var group = new UUID(); // UUID | The ID of the group to refresh. (default to null)

            try
            {
                // Refresh the dynamic group
                apiInstance.usergrouprefresh(token, group);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usergrouprefresh: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the group to refresh.

try {
    $api_instance->usergrouprefresh($token, $group);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usergrouprefresh: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The ID of the group to refresh.

eval { 
    $api_instance->usergrouprefresh(token => $token, group => $group);
};
if ($@) {
    warn "Exception when calling DefaultApi->usergrouprefresh: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
group = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The ID of the group to refresh. (default to null)

try: 
    # Refresh the dynamic group
    api_instance.usergrouprefresh(token, group)
except ApiException as e:
    print("Exception when calling DefaultApi->usergrouprefresh: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.usergrouprefresh(token, group, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
group*
UUID (uuid)
The ID of the group to refresh.
Required

Responses


usergroupremovemember

Remove a user from a group

Allows the user to remove a user from a group that they have permission to edit.


/usergroupremovemember

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/usergroupremovemember?token=&userid=&groupid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
        UUID groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group.
        try {
            apiInstance.usergroupremovemember(token, userid, groupid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergroupremovemember");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
        UUID groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group.
        try {
            apiInstance.usergroupremovemember(token, userid, groupid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergroupremovemember");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to remove. (default to null)
UUID *groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the group. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Remove a user from a group
[apiInstance usergroupremovememberWith:token
    userid:userid
    groupid:groupid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user to remove.
var groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the group.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usergroupremovemember(token, userid, groupid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usergroupremovememberExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var userid = new UUID(); // UUID | The id of the user to remove. (default to null)
            var groupid = new UUID(); // UUID | The id of the group. (default to null)

            try
            {
                // Remove a user from a group
                apiInstance.usergroupremovemember(token, userid, groupid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usergroupremovemember: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to remove.
$groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group.

try {
    $api_instance->usergroupremovemember($token, $userid, $groupid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usergroupremovemember: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to remove.
my $groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the group.

eval { 
    $api_instance->usergroupremovemember(token => $token, userid => $userid, groupid => $groupid);
};
if ($@) {
    warn "Exception when calling DefaultApi->usergroupremovemember: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to remove. (default to null)
groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the group. (default to null)

try: 
    # Remove a user from a group
    api_instance.usergroupremovemember(token, userid, groupid)
except ApiException as e:
    print("Exception when calling DefaultApi->usergroupremovemember: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let groupid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.usergroupremovemember(token, userid, groupid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
userid*
UUID (uuid)
The id of the user to remove.
Required
groupid*
UUID (uuid)
The id of the group.
Required

Responses


usergroupsave

Create or edit a group

Allows the user to create a new group or edit a group that they have permission to edit.


/usergroupsave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/usergroupsave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.usergroupsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergroupsave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.usergroupsave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergroupsave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a group
[apiInstance usergroupsaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usergroupsave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usergroupsaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a group
                apiInstance.usergroupsave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usergroupsave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->usergroupsave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usergroupsave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->usergroupsave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->usergroupsave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a group
    api_instance.usergroupsave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->usergroupsave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.usergroupsave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


usergrouptagmembers

Assign tags to the members of a specified group

Allows the user to assign tags to the users of a group that they have permission to edit.


/usergrouptagmembers

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/usergrouptagmembers?token=&group=&tags="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group to save whose members have to be tagged.
        String tags = tags_example; // String | The tags to assign to the members of the specified group, in JSON format.
        try {
            apiInstance.usergrouptagmembers(token, group, tags);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergrouptagmembers");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group to save whose members have to be tagged.
        String tags = tags_example; // String | The tags to assign to the members of the specified group, in JSON format.
        try {
            apiInstance.usergrouptagmembers(token, group, tags);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergrouptagmembers");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the group to save whose members have to be tagged. (default to null)
String *tags = tags_example; // The tags to assign to the members of the specified group, in JSON format. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Assign tags to the members of a specified group
[apiInstance usergrouptagmembersWith:token
    group:group
    tags:tags
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the group to save whose members have to be tagged.
var opts = {
  'tags': tags_example // {String} The tags to assign to the members of the specified group, in JSON format.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usergrouptagmembers(token, group, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usergrouptagmembersExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var group = new UUID(); // UUID | The id of the group to save whose members have to be tagged. (default to null)
            var tags = tags_example;  // String | The tags to assign to the members of the specified group, in JSON format. (optional)  (default to null)

            try
            {
                // Assign tags to the members of a specified group
                apiInstance.usergrouptagmembers(token, group, tags);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usergrouptagmembers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group to save whose members have to be tagged.
$tags = tags_example; // String | The tags to assign to the members of the specified group, in JSON format.

try {
    $api_instance->usergrouptagmembers($token, $group, $tags);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usergrouptagmembers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the group to save whose members have to be tagged.
my $tags = tags_example; # String | The tags to assign to the members of the specified group, in JSON format.

eval { 
    $api_instance->usergrouptagmembers(token => $token, group => $group, tags => $tags);
};
if ($@) {
    warn "Exception when calling DefaultApi->usergrouptagmembers: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
group = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the group to save whose members have to be tagged. (default to null)
tags = tags_example # String | The tags to assign to the members of the specified group, in JSON format. (optional) (default to null)

try: 
    # Assign tags to the members of a specified group
    api_instance.usergrouptagmembers(token, group, tags=tags)
except ApiException as e:
    print("Exception when calling DefaultApi->usergrouptagmembers: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let tags = tags_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.usergrouptagmembers(token, group, tags, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
group*
UUID (uuid)
The id of the group to save whose members have to be tagged.
Required
tags
String
The tags to assign to the members of the specified group, in JSON format.

Responses


usergroupuntagmembers

Unassign tags from the members of a specified group

Allows the user to unassign tags to the users of a group that they have permission to edit.


/usergroupuntagmembers

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/usergroupuntagmembers?token=&group=&tags="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group to save whose members have to be untagged.
        String tags = tags_example; // String | The tags to unassign from the members of the specified group, in JSON format.
        try {
            apiInstance.usergroupuntagmembers(token, group, tags);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergroupuntagmembers");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group to save whose members have to be untagged.
        String tags = tags_example; // String | The tags to unassign from the members of the specified group, in JSON format.
        try {
            apiInstance.usergroupuntagmembers(token, group, tags);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usergroupuntagmembers");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the group to save whose members have to be untagged. (default to null)
String *tags = tags_example; // The tags to unassign from the members of the specified group, in JSON format. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Unassign tags from the members of a specified group
[apiInstance usergroupuntagmembersWith:token
    group:group
    tags:tags
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the group to save whose members have to be untagged.
var opts = {
  'tags': tags_example // {String} The tags to unassign from the members of the specified group, in JSON format.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usergroupuntagmembers(token, group, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usergroupuntagmembersExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var group = new UUID(); // UUID | The id of the group to save whose members have to be untagged. (default to null)
            var tags = tags_example;  // String | The tags to unassign from the members of the specified group, in JSON format. (optional)  (default to null)

            try
            {
                // Unassign tags from the members of a specified group
                apiInstance.usergroupuntagmembers(token, group, tags);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usergroupuntagmembers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the group to save whose members have to be untagged.
$tags = tags_example; // String | The tags to unassign from the members of the specified group, in JSON format.

try {
    $api_instance->usergroupuntagmembers($token, $group, $tags);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usergroupuntagmembers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the group to save whose members have to be untagged.
my $tags = tags_example; # String | The tags to unassign from the members of the specified group, in JSON format.

eval { 
    $api_instance->usergroupuntagmembers(token => $token, group => $group, tags => $tags);
};
if ($@) {
    warn "Exception when calling DefaultApi->usergroupuntagmembers: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
group = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the group to save whose members have to be untagged. (default to null)
tags = tags_example # String | The tags to unassign from the members of the specified group, in JSON format. (optional) (default to null)

try: 
    # Unassign tags from the members of a specified group
    api_instance.usergroupuntagmembers(token, group, tags=tags)
except ApiException as e:
    print("Exception when calling DefaultApi->usergroupuntagmembers: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let group = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let tags = tags_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.usergroupuntagmembers(token, group, tags, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
group*
UUID (uuid)
The id of the group to save whose members have to be untagged.
Required
tags
String
The tags to unassign from the members of the specified group, in JSON format.

Responses


userlist

View a list of users

Allows the user to view the full list of users and is based on role permissions.


/userlist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/userlist?token=&from=&count=&roleid=&onlywithoutcard=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        UUID roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the role to filter users by, or empty to return all users.
        String onlywithoutcard = onlywithoutcard_example; // String | If is 1 then only the users without a card are returned, otherwise all users are returned.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.userlist(token, from, count, roleid, onlywithoutcard, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userlist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        UUID roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the role to filter users by, or empty to return all users.
        String onlywithoutcard = onlywithoutcard_example; // String | If is 1 then only the users without a card are returned, otherwise all users are returned.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.userlist(token, from, count, roleid, onlywithoutcard, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userlist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)
UUID *roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the role to filter users by, or empty to return all users. (optional) (default to null)
String *onlywithoutcard = onlywithoutcard_example; // If is 1 then only the users without a card are returned, otherwise all users are returned. (optional) (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of users
[apiInstance userlistWith:token
    from:from
    count:count
    roleid:roleid
    onlywithoutcard:onlywithoutcard
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.
var opts = {
  'roleid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the role to filter users by, or empty to return all users.
  'onlywithoutcard': onlywithoutcard_example, // {String} If is 1 then only the users without a card are returned, otherwise all users are returned.
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.userlist(token, from, count, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class userlistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)
            var roleid = new UUID(); // UUID | The id of the role to filter users by, or empty to return all users. (optional)  (default to null)
            var onlywithoutcard = onlywithoutcard_example;  // String | If is 1 then only the users without a card are returned, otherwise all users are returned. (optional)  (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // View a list of users
                apiInstance.userlist(token, from, count, roleid, onlywithoutcard, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.userlist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.
$roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the role to filter users by, or empty to return all users.
$onlywithoutcard = onlywithoutcard_example; // String | If is 1 then only the users without a card are returned, otherwise all users are returned.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->userlist($token, $from, $count, $roleid, $onlywithoutcard, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->userlist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.
my $roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the role to filter users by, or empty to return all users.
my $onlywithoutcard = onlywithoutcard_example; # String | If is 1 then only the users without a card are returned, otherwise all users are returned.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->userlist(token => $token, from => $from, count => $count, roleid => $roleid, onlywithoutcard => $onlywithoutcard, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->userlist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)
roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the role to filter users by, or empty to return all users. (optional) (default to null)
onlywithoutcard = onlywithoutcard_example # String | If is 1 then only the users without a card are returned, otherwise all users are returned. (optional) (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # View a list of users
    api_instance.userlist(token, from, count, roleid=roleid, onlywithoutcard=onlywithoutcard, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->userlist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer
    let roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let onlywithoutcard = onlywithoutcard_example; // String
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.userlist(token, from, count, roleid, onlywithoutcard, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required
roleid
UUID (uuid)
The id of the role to filter users by, or empty to return all users.
onlywithoutcard
String
If is 1 then only the users without a card are returned, otherwise all users are returned.
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


userloadphoto

Upload a photo for a specific user

Allows the user to upload a photo for a user.


/userloadphoto

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/userloadphoto?token=&upload=&filename=&userid=&automatch="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String upload = upload_example; // String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
        String filename = filename_example; // String | The local name of the uploaded file. For later reference.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user ID to directly associate the upload photo. If not specified, a temp ID is returned that can be later specified in 'user.save'.
        Boolean automatch = true; // Boolean | Set this to true to find the specific user based on the file name. 
        try {
            apiInstance.userloadphoto(token, upload, filename, userid, automatch);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userloadphoto");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String upload = upload_example; // String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
        String filename = filename_example; // String | The local name of the uploaded file. For later reference.
        UUID userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user ID to directly associate the upload photo. If not specified, a temp ID is returned that can be later specified in 'user.save'.
        Boolean automatch = true; // Boolean | Set this to true to find the specific user based on the file name. 
        try {
            apiInstance.userloadphoto(token, upload, filename, userid, automatch);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userloadphoto");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *upload = upload_example; // Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object). (default to null)
String *filename = filename_example; // The local name of the uploaded file. For later reference. (optional) (default to null)
UUID *userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The user ID to directly associate the upload photo. If not specified, a temp ID is returned that can be later specified in 'user.save'. (optional) (default to null)
Boolean *automatch = true; // Set this to true to find the specific user based on the file name.  (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Upload a photo for a specific user
[apiInstance userloadphotoWith:token
    upload:upload
    filename:filename
    userid:userid
    automatch:automatch
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var upload = upload_example; // {String} Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
var opts = {
  'filename': filename_example, // {String} The local name of the uploaded file. For later reference.
  'userid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The user ID to directly associate the upload photo. If not specified, a temp ID is returned that can be later specified in 'user.save'.
  'automatch': true // {Boolean} Set this to true to find the specific user based on the file name. 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.userloadphoto(token, upload, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class userloadphotoExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var upload = upload_example;  // String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object). (default to null)
            var filename = filename_example;  // String | The local name of the uploaded file. For later reference. (optional)  (default to null)
            var userid = new UUID(); // UUID | The user ID to directly associate the upload photo. If not specified, a temp ID is returned that can be later specified in 'user.save'. (optional)  (default to null)
            var automatch = true;  // Boolean | Set this to true to find the specific user based on the file name.  (optional)  (default to null)

            try
            {
                // Upload a photo for a specific user
                apiInstance.userloadphoto(token, upload, filename, userid, automatch);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.userloadphoto: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$upload = upload_example; // String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
$filename = filename_example; // String | The local name of the uploaded file. For later reference.
$userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user ID to directly associate the upload photo. If not specified, a temp ID is returned that can be later specified in 'user.save'.
$automatch = true; // Boolean | Set this to true to find the specific user based on the file name. 

try {
    $api_instance->userloadphoto($token, $upload, $filename, $userid, $automatch);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->userloadphoto: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $upload = upload_example; # String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
my $filename = filename_example; # String | The local name of the uploaded file. For later reference.
my $userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The user ID to directly associate the upload photo. If not specified, a temp ID is returned that can be later specified in 'user.save'.
my $automatch = true; # Boolean | Set this to true to find the specific user based on the file name. 

eval { 
    $api_instance->userloadphoto(token => $token, upload => $upload, filename => $filename, userid => $userid, automatch => $automatch);
};
if ($@) {
    warn "Exception when calling DefaultApi->userloadphoto: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
upload = upload_example # String | Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object). (default to null)
filename = filename_example # String | The local name of the uploaded file. For later reference. (optional) (default to null)
userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The user ID to directly associate the upload photo. If not specified, a temp ID is returned that can be later specified in 'user.save'. (optional) (default to null)
automatch = true # Boolean | Set this to true to find the specific user based on the file name.  (optional) (default to null)

try: 
    # Upload a photo for a specific user
    api_instance.userloadphoto(token, upload, filename=filename, userid=userid, automatch=automatch)
except ApiException as e:
    print("Exception when calling DefaultApi->userloadphoto: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let upload = upload_example; // String
    let filename = filename_example; // String
    let userid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let automatch = true; // Boolean

    let mut context = DefaultApi::Context::default();
    let result = client.userloadphoto(token, upload, filename, userid, automatch, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
upload*
String
Set 'file' as value to indicate that a file is being submitted in the body (instead of a JSON object).
Required
filename
String
The local name of the uploaded file. For later reference.
userid
UUID (uuid)
The user ID to directly associate the upload photo. If not specified, a temp ID is returned that can be later specified in 'user.save'.
automatch
Boolean
Set this to true to find the specific user based on the file name.

Responses


usermovedata

Move data between users

Allows administrators to move data between users.


/usermovedata

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/usermovedata?token=&source=&destination="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID source = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user that is the source of the data.
        UUID destination = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user that is the destination of the data.
        try {
            apiInstance.usermovedata(token, source, destination);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usermovedata");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID source = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user that is the source of the data.
        UUID destination = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user that is the destination of the data.
        try {
            apiInstance.usermovedata(token, source, destination);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usermovedata");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *source = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user that is the source of the data. (default to null)
UUID *destination = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user that is the destination of the data. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Move data between users
[apiInstance usermovedataWith:token
    source:source
    destination:destination
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var source = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user that is the source of the data.
var destination = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user that is the destination of the data.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usermovedata(token, source, destination, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usermovedataExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var source = new UUID(); // UUID | The id of the user that is the source of the data. (default to null)
            var destination = new UUID(); // UUID | The id of the user that is the destination of the data. (default to null)

            try
            {
                // Move data between users
                apiInstance.usermovedata(token, source, destination);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usermovedata: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$source = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user that is the source of the data.
$destination = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user that is the destination of the data.

try {
    $api_instance->usermovedata($token, $source, $destination);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usermovedata: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $source = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user that is the source of the data.
my $destination = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user that is the destination of the data.

eval { 
    $api_instance->usermovedata(token => $token, source => $source, destination => $destination);
};
if ($@) {
    warn "Exception when calling DefaultApi->usermovedata: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
source = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user that is the source of the data. (default to null)
destination = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user that is the destination of the data. (default to null)

try: 
    # Move data between users
    api_instance.usermovedata(token, source, destination)
except ApiException as e:
    print("Exception when calling DefaultApi->usermovedata: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let source = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let destination = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.usermovedata(token, source, destination, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
source*
UUID (uuid)
The id of the user that is the source of the data.
Required
destination*
UUID (uuid)
The id of the user that is the destination of the data.
Required

Responses


userprofiledelete

Delete a user profile

Allows the user to delete a profile from the list of profiles that they have permission to edit.


/userprofiledelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/userprofiledelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user profile to delete.
        try {
            apiInstance.userprofiledelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userprofiledelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user profile to delete.
        try {
            apiInstance.userprofiledelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userprofiledelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user profile to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a user profile
[apiInstance userprofiledeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the user profile to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.userprofiledelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class userprofiledeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the user profile to delete. (default to null)

            try
            {
                // Delete a user profile
                apiInstance.userprofiledelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.userprofiledelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user profile to delete.

try {
    $api_instance->userprofiledelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->userprofiledelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user profile to delete.

eval { 
    $api_instance->userprofiledelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->userprofiledelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user profile to delete. (default to null)

try: 
    # Delete a user profile
    api_instance.userprofiledelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->userprofiledelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.userprofiledelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the user profile to delete.
Required

Responses


userprofileget

View a specific user profile

Allows the user to view individual user profiles and their details, provided they have permission to view that profile.


/userprofileget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/userprofileget?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the profile question set.
        try {
            apiInstance.userprofileget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userprofileget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the profile question set.
        try {
            apiInstance.userprofileget(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userprofileget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the profile question set. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a specific user profile
[apiInstance userprofilegetWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the profile question set.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.userprofileget(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class userprofilegetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the profile question set. (default to null)

            try
            {
                // View a specific user profile
                apiInstance.userprofileget(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.userprofileget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the profile question set.

try {
    $api_instance->userprofileget($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->userprofileget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the profile question set.

eval { 
    $api_instance->userprofileget(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->userprofileget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the profile question set. (default to null)

try: 
    # View a specific user profile
    api_instance.userprofileget(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->userprofileget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.userprofileget(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the profile question set.
Required

Responses


userprofilegetallview

Shows the profile for a specific (or current) user, based on each profile questionnaire questions.

Allows the user to view a profile for a user, provided they have permission to view that user and profile.


/userprofilegetallview

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/userprofilegetallview?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to view, or empty for current user.
        try {
            apiInstance.userprofilegetallview(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userprofilegetallview");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to view, or empty for current user.
        try {
            apiInstance.userprofilegetallview(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userprofilegetallview");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the user to view, or empty for current user. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Shows the profile for a specific (or current) user, based on each profile questionnaire questions.
[apiInstance userprofilegetallviewWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'id': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} The id of the user to view, or empty for current user.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.userprofilegetallview(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class userprofilegetallviewExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the user to view, or empty for current user. (optional)  (default to null)

            try
            {
                // Shows the profile for a specific (or current) user, based on each profile questionnaire questions.
                apiInstance.userprofilegetallview(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.userprofilegetallview: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the user to view, or empty for current user.

try {
    $api_instance->userprofilegetallview($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->userprofilegetallview: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the user to view, or empty for current user.

eval { 
    $api_instance->userprofilegetallview(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->userprofilegetallview: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the user to view, or empty for current user. (optional) (default to null)

try: 
    # Shows the profile for a specific (or current) user, based on each profile questionnaire questions.
    api_instance.userprofilegetallview(token, id=id)
except ApiException as e:
    print("Exception when calling DefaultApi->userprofilegetallview: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.userprofilegetallview(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id
UUID (uuid)
The id of the user to view, or empty for current user.

Responses


userprofilelist

View the list of user profiles

Allows the user to view the full list of profiles that they have permission to view.


/userprofilelist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/userprofilelist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.userprofilelist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userprofilelist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.userprofilelist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userprofilelist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (optional) (default to null)
Integer *count = 56; // The max number of records to return. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View the list of user profiles
[apiInstance userprofilelistWith:token
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'from': 56, // {Integer} The first record to return.
  'count': 56 // {Integer} The max number of records to return.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.userprofilelist(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class userprofilelistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (optional)  (default to null)
            var count = 56;  // Integer | The max number of records to return. (optional)  (default to null)

            try
            {
                // View the list of user profiles
                apiInstance.userprofilelist(token, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.userprofilelist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->userprofilelist($token, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->userprofilelist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->userprofilelist(token => $token, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->userprofilelist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (optional) (default to null)
count = 56 # Integer | The max number of records to return. (optional) (default to null)

try: 
    # View the list of user profiles
    api_instance.userprofilelist(token, from=from, count=count)
except ApiException as e:
    print("Exception when calling DefaultApi->userprofilelist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.userprofilelist(token, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from
Integer (int32)
The first record to return.
count
Integer (int32)
The max number of records to return.

Responses


userprofilelistquestions

Gets the list of all the available user questions

Allows the user to view the list of questions in a profile that they have permission to view.


/userprofilelistquestions

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/userprofilelistquestions?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.userprofilelistquestions(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userprofilelistquestions");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.userprofilelistquestions(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userprofilelistquestions");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the list of all the available user questions
[apiInstance userprofilelistquestionsWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.userprofilelistquestions(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class userprofilelistquestionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Gets the list of all the available user questions
                apiInstance.userprofilelistquestions(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.userprofilelistquestions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->userprofilelistquestions($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->userprofilelistquestions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->userprofilelistquestions(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->userprofilelistquestions: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Gets the list of all the available user questions
    api_instance.userprofilelistquestions(token)
except ApiException as e:
    print("Exception when calling DefaultApi->userprofilelistquestions: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.userprofilelistquestions(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


userprofilepreparestats

Gets the statistics of a user group

Allows the user to view the demographic statistics of a user group.


/userprofilepreparestats

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/userprofilepreparestats?token=¶ms="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String params = params_example; // String | The ID of the group, specified as 'group=...'
        try {
            apiInstance.userprofilepreparestats(token, params);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userprofilepreparestats");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String params = params_example; // String | The ID of the group, specified as 'group=...'
        try {
            apiInstance.userprofilepreparestats(token, params);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userprofilepreparestats");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *params = params_example; // The ID of the group, specified as 'group=...' (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Gets the statistics of a user group
[apiInstance userprofilepreparestatsWith:token
    params:params
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var opts = {
  'params': params_example // {String} The ID of the group, specified as 'group=...'
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.userprofilepreparestats(token, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class userprofilepreparestatsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var params = params_example;  // String | The ID of the group, specified as 'group=...' (optional)  (default to null)

            try
            {
                // Gets the statistics of a user group
                apiInstance.userprofilepreparestats(token, params);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.userprofilepreparestats: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$params = params_example; // String | The ID of the group, specified as 'group=...'

try {
    $api_instance->userprofilepreparestats($token, $params);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->userprofilepreparestats: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $params = params_example; # String | The ID of the group, specified as 'group=...'

eval { 
    $api_instance->userprofilepreparestats(token => $token, params => $params);
};
if ($@) {
    warn "Exception when calling DefaultApi->userprofilepreparestats: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
params = params_example # String | The ID of the group, specified as 'group=...' (optional) (default to null)

try: 
    # Gets the statistics of a user group
    api_instance.userprofilepreparestats(token, params=params)
except ApiException as e:
    print("Exception when calling DefaultApi->userprofilepreparestats: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let params = params_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.userprofilepreparestats(token, params, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
params
String
The ID of the group, specified as 'group=...'

Responses


userprofilesave

Create or edit user profile questions

Allows the user to create or edit a user profile.


/userprofilesave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/userprofilesave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.userprofilesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userprofilesave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.userprofilesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userprofilesave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit user profile questions
[apiInstance userprofilesaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.userprofilesave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class userprofilesaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit user profile questions
                apiInstance.userprofilesave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.userprofilesave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->userprofilesave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->userprofilesave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->userprofilesave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->userprofilesave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit user profile questions
    api_instance.userprofilesave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->userprofilesave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.userprofilesave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


userprofilesaveanswers

Saves the profile for a specific (or current) user. Additional security applies on a per profile basis.

Allows the user to edit a profile for a user, provided they have permission to edit that user and profile.


/userprofilesaveanswers

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/userprofilesaveanswers"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.userprofilesaveanswers(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userprofilesaveanswers");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.userprofilesaveanswers(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userprofilesaveanswers");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Saves the profile for a specific (or current) user. Additional security applies on a per profile basis.
[apiInstance userprofilesaveanswersWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.userprofilesaveanswers(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class userprofilesaveanswersExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Saves the profile for a specific (or current) user. Additional security applies on a per profile basis.
                apiInstance.userprofilesaveanswers(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.userprofilesaveanswers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->userprofilesaveanswers($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->userprofilesaveanswers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->userprofilesaveanswers(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->userprofilesaveanswers: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Saves the profile for a specific (or current) user. Additional security applies on a per profile basis.
    api_instance.userprofilesaveanswers(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->userprofilesaveanswers: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.userprofilesaveanswers(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


userrequestpwdchange

Requests a password change


/userrequestpwdchange

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/userrequestpwdchange?domain=&email="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String domain = domain_example; // String | The domain of the account where the user exists.
        String email = email_example; // String | The email of the user.
        try {
            apiInstance.userrequestpwdchange(domain, email);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userrequestpwdchange");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String domain = domain_example; // String | The domain of the account where the user exists.
        String email = email_example; // String | The email of the user.
        try {
            apiInstance.userrequestpwdchange(domain, email);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userrequestpwdchange");
            e.printStackTrace();
        }
    }
}
String *domain = domain_example; // The domain of the account where the user exists. (default to null)
String *email = email_example; // The email of the user. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Requests a password change
[apiInstance userrequestpwdchangeWith:domain
    email:email
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var domain = domain_example; // {String} The domain of the account where the user exists.
var email = email_example; // {String} The email of the user.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.userrequestpwdchange(domain, email, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class userrequestpwdchangeExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var domain = domain_example;  // String | The domain of the account where the user exists. (default to null)
            var email = email_example;  // String | The email of the user. (default to null)

            try
            {
                // Requests a password change
                apiInstance.userrequestpwdchange(domain, email);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.userrequestpwdchange: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$domain = domain_example; // String | The domain of the account where the user exists.
$email = email_example; // String | The email of the user.

try {
    $api_instance->userrequestpwdchange($domain, $email);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->userrequestpwdchange: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $domain = domain_example; # String | The domain of the account where the user exists.
my $email = email_example; # String | The email of the user.

eval { 
    $api_instance->userrequestpwdchange(domain => $domain, email => $email);
};
if ($@) {
    warn "Exception when calling DefaultApi->userrequestpwdchange: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
domain = domain_example # String | The domain of the account where the user exists. (default to null)
email = email_example # String | The email of the user. (default to null)

try: 
    # Requests a password change
    api_instance.userrequestpwdchange(domain, email)
except ApiException as e:
    print("Exception when calling DefaultApi->userrequestpwdchange: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let domain = domain_example; // String
    let email = email_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.userrequestpwdchange(domain, email, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
domain*
String
The domain of the account where the user exists.
Required
email*
String
The email of the user.
Required

Responses


usersave

Create or edit a user

Allows the user to create or edit a user.


/usersave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/usersave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.usersave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usersave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.usersave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usersave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a user
[apiInstance usersaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usersave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usersaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a user
                apiInstance.usersave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usersave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->usersave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usersave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->usersave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->usersave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a user
    api_instance.usersave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->usersave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.usersave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


usersavepwdchange

Send email to the specified user(s) to set/change their passwords

Allows the user to trigger an email to another user asking them to set or change their password.


/usersavepwdchange

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/usersavepwdchange"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.usersavepwdchange(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usersavepwdchange");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.usersavepwdchange(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usersavepwdchange");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Send email to the specified user(s) to set/change their passwords
[apiInstance usersavepwdchangeWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usersavepwdchange(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usersavepwdchangeExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Send email to the specified user(s) to set/change their passwords
                apiInstance.usersavepwdchange(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usersavepwdchange: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->usersavepwdchange($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usersavepwdchange: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->usersavepwdchange(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->usersavepwdchange: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Send email to the specified user(s) to set/change their passwords
    api_instance.usersavepwdchange(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->usersavepwdchange: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.usersavepwdchange(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


usersettingsget

Lists available user settings


/usersettingsget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/usersettingsget?token=&keys=&user="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String keys = keys_example; // String | Setting key to get. Can be multiple separated by commas.
        UUID user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id whose settings have to be returned.
        try {
            apiInstance.usersettingsget(token, keys, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usersettingsget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String keys = keys_example; // String | Setting key to get. Can be multiple separated by commas.
        UUID user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id whose settings have to be returned.
        try {
            apiInstance.usersettingsget(token, keys, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usersettingsget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *keys = keys_example; // Setting key to get. Can be multiple separated by commas. (default to null)
UUID *user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The user id whose settings have to be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists available user settings
[apiInstance usersettingsgetWith:token
    keys:keys
    user:user
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var keys = keys_example; // {String} Setting key to get. Can be multiple separated by commas.
var opts = {
  'user': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} The user id whose settings have to be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usersettingsget(token, keys, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usersettingsgetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var keys = keys_example;  // String | Setting key to get. Can be multiple separated by commas. (default to null)
            var user = new UUID(); // UUID | The user id whose settings have to be returned. (optional)  (default to null)

            try
            {
                // Lists available user settings
                apiInstance.usersettingsget(token, keys, user);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usersettingsget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$keys = keys_example; // String | Setting key to get. Can be multiple separated by commas.
$user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id whose settings have to be returned.

try {
    $api_instance->usersettingsget($token, $keys, $user);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usersettingsget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $keys = keys_example; # String | Setting key to get. Can be multiple separated by commas.
my $user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The user id whose settings have to be returned.

eval { 
    $api_instance->usersettingsget(token => $token, keys => $keys, user => $user);
};
if ($@) {
    warn "Exception when calling DefaultApi->usersettingsget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
keys = keys_example # String | Setting key to get. Can be multiple separated by commas. (default to null)
user = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The user id whose settings have to be returned. (optional) (default to null)

try: 
    # Lists available user settings
    api_instance.usersettingsget(token, keys, user=user)
except ApiException as e:
    print("Exception when calling DefaultApi->usersettingsget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let keys = keys_example; // String
    let user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.usersettingsget(token, keys, user, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
keys*
String
Setting key to get. Can be multiple separated by commas.
Required
user
UUID (uuid)
The user id whose settings have to be returned.

Responses


usersettingsgetmultiple

Get multiple user settings


/usersettingsgetmultiple

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/usersettingsgetmultiple?token=&keys=&user="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String keys = keys_example; // String | Setting key to get. Can be multiple separated by commas.
        UUID user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id whose settings have to be returned.
        try {
            apiInstance.usersettingsgetmultiple(token, keys, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usersettingsgetmultiple");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        String keys = keys_example; // String | Setting key to get. Can be multiple separated by commas.
        UUID user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id whose settings have to be returned.
        try {
            apiInstance.usersettingsgetmultiple(token, keys, user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usersettingsgetmultiple");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
String *keys = keys_example; // Setting key to get. Can be multiple separated by commas. (default to null)
UUID *user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The user id whose settings have to be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get multiple user settings
[apiInstance usersettingsgetmultipleWith:token
    keys:keys
    user:user
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var keys = keys_example; // {String} Setting key to get. Can be multiple separated by commas.
var opts = {
  'user': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} The user id whose settings have to be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usersettingsgetmultiple(token, keys, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usersettingsgetmultipleExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var keys = keys_example;  // String | Setting key to get. Can be multiple separated by commas. (default to null)
            var user = new UUID(); // UUID | The user id whose settings have to be returned. (optional)  (default to null)

            try
            {
                // Get multiple user settings
                apiInstance.usersettingsgetmultiple(token, keys, user);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usersettingsgetmultiple: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$keys = keys_example; // String | Setting key to get. Can be multiple separated by commas.
$user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The user id whose settings have to be returned.

try {
    $api_instance->usersettingsgetmultiple($token, $keys, $user);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usersettingsgetmultiple: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $keys = keys_example; # String | Setting key to get. Can be multiple separated by commas.
my $user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The user id whose settings have to be returned.

eval { 
    $api_instance->usersettingsgetmultiple(token => $token, keys => $keys, user => $user);
};
if ($@) {
    warn "Exception when calling DefaultApi->usersettingsgetmultiple: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
keys = keys_example # String | Setting key to get. Can be multiple separated by commas. (default to null)
user = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The user id whose settings have to be returned. (optional) (default to null)

try: 
    # Get multiple user settings
    api_instance.usersettingsgetmultiple(token, keys, user=user)
except ApiException as e:
    print("Exception when calling DefaultApi->usersettingsgetmultiple: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let keys = keys_example; // String
    let user = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.usersettingsgetmultiple(token, keys, user, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
keys*
String
Setting key to get. Can be multiple separated by commas.
Required
user
UUID (uuid)
The user id whose settings have to be returned.

Responses


usersettingssave

Saves a user setting


/usersettingssave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/usersettingssave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.usersettingssave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usersettingssave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.usersettingssave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usersettingssave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Saves a user setting
[apiInstance usersettingssaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usersettingssave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usersettingssaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Saves a user setting
                apiInstance.usersettingssave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usersettingssave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->usersettingssave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usersettingssave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->usersettingssave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->usersettingssave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Saves a user setting
    api_instance.usersettingssave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->usersettingssave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.usersettingssave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


usersettingssavemultiple

Save multiple user settings at once


/usersettingssavemultiple

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/usersettingssavemultiple"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.usersettingssavemultiple(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usersettingssavemultiple");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.usersettingssavemultiple(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usersettingssavemultiple");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Save multiple user settings at once
[apiInstance usersettingssavemultipleWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usersettingssavemultiple(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class usersettingssavemultipleExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Save multiple user settings at once
                apiInstance.usersettingssavemultiple(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usersettingssavemultiple: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->usersettingssavemultiple($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usersettingssavemultiple: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->usersettingssavemultiple(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->usersettingssavemultiple: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Save multiple user settings at once
    api_instance.usersettingssavemultiple(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->usersettingssavemultiple: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.usersettingssavemultiple(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


version

Get current version information


/version

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/version?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.version(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#version");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.version(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#version");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get current version information
[apiInstance versionWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.version(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class versionExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Get current version information
                apiInstance.version(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.version: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->version($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->version: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->version(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->version: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Get current version information
    api_instance.version(token)
except ApiException as e:
    print("Exception when calling DefaultApi->version: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.version(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


virtuallineaddmyself

Add myself to a waiting line

Allows the user to add themselves to a waiting line from the AccuCampus mobile app.


/virtuallineaddmyself

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/virtuallineaddmyself?token=&waitinglineid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID waitinglineid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the waiting line to join.
        try {
            apiInstance.virtuallineaddmyself(token, waitinglineid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#virtuallineaddmyself");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID waitinglineid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the waiting line to join.
        try {
            apiInstance.virtuallineaddmyself(token, waitinglineid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#virtuallineaddmyself");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *waitinglineid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // ID of the waiting line to join. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Add myself to a waiting line
[apiInstance virtuallineaddmyselfWith:token
    waitinglineid:waitinglineid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var waitinglineid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} ID of the waiting line to join.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.virtuallineaddmyself(token, waitinglineid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class virtuallineaddmyselfExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var waitinglineid = new UUID(); // UUID | ID of the waiting line to join. (default to null)

            try
            {
                // Add myself to a waiting line
                apiInstance.virtuallineaddmyself(token, waitinglineid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.virtuallineaddmyself: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$waitinglineid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | ID of the waiting line to join.

try {
    $api_instance->virtuallineaddmyself($token, $waitinglineid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->virtuallineaddmyself: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $waitinglineid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | ID of the waiting line to join.

eval { 
    $api_instance->virtuallineaddmyself(token => $token, waitinglineid => $waitinglineid);
};
if ($@) {
    warn "Exception when calling DefaultApi->virtuallineaddmyself: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
waitinglineid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | ID of the waiting line to join. (default to null)

try: 
    # Add myself to a waiting line
    api_instance.virtuallineaddmyself(token, waitinglineid)
except ApiException as e:
    print("Exception when calling DefaultApi->virtuallineaddmyself: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let waitinglineid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.virtuallineaddmyself(token, waitinglineid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
waitinglineid*
UUID (uuid)
ID of the waiting line to join.
Required

Responses


virtuallinelist

Lists waiting lines that have remote access enabled


/virtuallinelist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/virtuallinelist?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.virtuallinelist(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#virtuallinelist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.virtuallinelist(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#virtuallinelist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Lists waiting lines that have remote access enabled
[apiInstance virtuallinelistWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.virtuallinelist(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class virtuallinelistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Lists waiting lines that have remote access enabled
                apiInstance.virtuallinelist(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.virtuallinelist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->virtuallinelist($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->virtuallinelist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->virtuallinelist(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->virtuallinelist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Lists waiting lines that have remote access enabled
    api_instance.virtuallinelist(token)
except ApiException as e:
    print("Exception when calling DefaultApi->virtuallinelist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.virtuallinelist(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


virtuallineremovemyself

Remove myself from a waiting line

Allows the user to remove themselves from a waiting line in the AccuCampus mobile app.


/virtuallineremovemyself

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/virtuallineremovemyself?token="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.virtuallineremovemyself(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#virtuallineremovemyself");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        try {
            apiInstance.virtuallineremovemyself(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#virtuallineremovemyself");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Remove myself from a waiting line
[apiInstance virtuallineremovemyselfWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.virtuallineremovemyself(token, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class virtuallineremovemyselfExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)

            try
            {
                // Remove myself from a waiting line
                apiInstance.virtuallineremovemyself(token);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.virtuallineremovemyself: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.

try {
    $api_instance->virtuallineremovemyself($token);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->virtuallineremovemyself: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.

eval { 
    $api_instance->virtuallineremovemyself(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->virtuallineremovemyself: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)

try: 
    # Remove myself from a waiting line
    api_instance.virtuallineremovemyself(token)
except ApiException as e:
    print("Exception when calling DefaultApi->virtuallineremovemyself: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.virtuallineremovemyself(token, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required

Responses


waitinglineadduser

Put user in a waiting line


/waitinglineadduser

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/waitinglineadduser?station=&locationid=&time=&user=&signinrole=&roleid=&services=&eventid=&staff=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station.
        String user = user_example; // String | The user's card number.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The location's id where the swipe must be saved.
        Date time = 2013-10-20T19:20:30+01:00; // Date | The date and time of the swipe.
        String signinrole = signinrole_example; // String | Specifies if the sign-in is for an attendee or a staff member
        UUID roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Specifies the role the user has selected in order to sign-in
        String services = services_example; // String | The services ids the user has selected.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event the user selected.
        UUID staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff member the user selected.
        Integer photosize = 56; // Integer | The swiping user's photo size.
        try {
            apiInstance.waitinglineadduser(station, user, locationid, time, signinrole, roleid, services, eventid, staff, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#waitinglineadduser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station.
        String user = user_example; // String | The user's card number.
        UUID locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The location's id where the swipe must be saved.
        Date time = 2013-10-20T19:20:30+01:00; // Date | The date and time of the swipe.
        String signinrole = signinrole_example; // String | Specifies if the sign-in is for an attendee or a staff member
        UUID roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Specifies the role the user has selected in order to sign-in
        String services = services_example; // String | The services ids the user has selected.
        UUID eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event the user selected.
        UUID staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff member the user selected.
        Integer photosize = 56; // Integer | The swiping user's photo size.
        try {
            apiInstance.waitinglineadduser(station, user, locationid, time, signinrole, roleid, services, eventid, staff, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#waitinglineadduser");
            e.printStackTrace();
        }
    }
}
UUID *station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station. (default to null)
String *user = user_example; // The user's card number. (default to null)
UUID *locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The location's id where the swipe must be saved. (optional) (default to null)
Date *time = 2013-10-20T19:20:30+01:00; // The date and time of the swipe. (optional) (default to null)
String *signinrole = signinrole_example; // Specifies if the sign-in is for an attendee or a staff member (optional) (default to null)
UUID *roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // Specifies the role the user has selected in order to sign-in (optional) (default to null)
String *services = services_example; // The services ids the user has selected. (optional) (default to null)
UUID *eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the event the user selected. (optional) (default to null)
UUID *staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the staff member the user selected. (optional) (default to null)
Integer *photosize = 56; // The swiping user's photo size. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Put user in a waiting line
[apiInstance waitinglineadduserWith:station
    user:user
    locationid:locationid
    time:time
    signinrole:signinrole
    roleid:roleid
    services:services
    eventid:eventid
    staff:staff
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station.
var user = user_example; // {String} The user's card number.
var opts = {
  'locationid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The location's id where the swipe must be saved.
  'time': 2013-10-20T19:20:30+01:00, // {Date} The date and time of the swipe.
  'signinrole': signinrole_example, // {String} Specifies if the sign-in is for an attendee or a staff member
  'roleid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} Specifies the role the user has selected in order to sign-in
  'services': services_example, // {String} The services ids the user has selected.
  'eventid': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the event the user selected.
  'staff': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} The id of the staff member the user selected.
  'photosize': 56 // {Integer} The swiping user's photo size.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.waitinglineadduser(station, user, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class waitinglineadduserExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var station = new UUID(); // UUID | The id of the sign-in station. (default to null)
            var user = user_example;  // String | The user's card number. (default to null)
            var locationid = new UUID(); // UUID | The location's id where the swipe must be saved. (optional)  (default to null)
            var time = 2013-10-20T19:20:30+01:00;  // Date | The date and time of the swipe. (optional)  (default to null)
            var signinrole = signinrole_example;  // String | Specifies if the sign-in is for an attendee or a staff member (optional)  (default to null)
            var roleid = new UUID(); // UUID | Specifies the role the user has selected in order to sign-in (optional)  (default to null)
            var services = services_example;  // String | The services ids the user has selected. (optional)  (default to null)
            var eventid = new UUID(); // UUID | The id of the event the user selected. (optional)  (default to null)
            var staff = new UUID(); // UUID | The id of the staff member the user selected. (optional)  (default to null)
            var photosize = 56;  // Integer | The swiping user's photo size. (optional)  (default to null)

            try
            {
                // Put user in a waiting line
                apiInstance.waitinglineadduser(station, user, locationid, time, signinrole, roleid, services, eventid, staff, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.waitinglineadduser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station.
$user = user_example; // String | The user's card number.
$locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The location's id where the swipe must be saved.
$time = 2013-10-20T19:20:30+01:00; // Date | The date and time of the swipe.
$signinrole = signinrole_example; // String | Specifies if the sign-in is for an attendee or a staff member
$roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | Specifies the role the user has selected in order to sign-in
$services = services_example; // String | The services ids the user has selected.
$eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the event the user selected.
$staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff member the user selected.
$photosize = 56; // Integer | The swiping user's photo size.

try {
    $api_instance->waitinglineadduser($station, $user, $locationid, $time, $signinrole, $roleid, $services, $eventid, $staff, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->waitinglineadduser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station.
my $user = user_example; # String | The user's card number.
my $locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The location's id where the swipe must be saved.
my $time = 2013-10-20T19:20:30+01:00; # Date | The date and time of the swipe.
my $signinrole = signinrole_example; # String | Specifies if the sign-in is for an attendee or a staff member
my $roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | Specifies the role the user has selected in order to sign-in
my $services = services_example; # String | The services ids the user has selected.
my $eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the event the user selected.
my $staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the staff member the user selected.
my $photosize = 56; # Integer | The swiping user's photo size.

eval { 
    $api_instance->waitinglineadduser(station => $station, user => $user, locationid => $locationid, time => $time, signinrole => $signinrole, roleid => $roleid, services => $services, eventid => $eventid, staff => $staff, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->waitinglineadduser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
station = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station. (default to null)
user = user_example # String | The user's card number. (default to null)
locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The location's id where the swipe must be saved. (optional) (default to null)
time = 2013-10-20T19:20:30+01:00 # Date | The date and time of the swipe. (optional) (default to null)
signinrole = signinrole_example # String | Specifies if the sign-in is for an attendee or a staff member (optional) (default to null)
roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | Specifies the role the user has selected in order to sign-in (optional) (default to null)
services = services_example # String | The services ids the user has selected. (optional) (default to null)
eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the event the user selected. (optional) (default to null)
staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the staff member the user selected. (optional) (default to null)
photosize = 56 # Integer | The swiping user's photo size. (optional) (default to null)

try: 
    # Put user in a waiting line
    api_instance.waitinglineadduser(station, user, locationid=locationid, time=time, signinrole=signinrole, roleid=roleid, services=services, eventid=eventid, staff=staff, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->waitinglineadduser: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let user = user_example; // String
    let locationid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let time = 2013-10-20T19:20:30+01:00; // Date
    let signinrole = signinrole_example; // String
    let roleid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let services = services_example; // String
    let eventid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.waitinglineadduser(station, user, locationid, time, signinrole, roleid, services, eventid, staff, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
station*
UUID (uuid)
The id of the sign-in station.
Required
locationid
UUID (uuid)
The location's id where the swipe must be saved.
time
Date (date-time)
The date and time of the swipe.
user*
String
The user's card number.
Required
signinrole
String
Specifies if the sign-in is for an attendee or a staff member
roleid
UUID (uuid)
Specifies the role the user has selected in order to sign-in
services
String
The services ids the user has selected.
eventid
UUID (uuid)
The id of the event the user selected.
staff
UUID (uuid)
The id of the staff member the user selected.
photosize
Integer (int32)
The swiping user's photo size.

Responses


waitinglinedelete

Delete a waiting line

Allows the user to delete an existing waiting line, provided it is in a location that the user is scoped to.


/waitinglinedelete

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/waitinglinedelete?token=&id="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the line to delete.
        try {
            apiInstance.waitinglinedelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#waitinglinedelete");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the line to delete.
        try {
            apiInstance.waitinglinedelete(token, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#waitinglinedelete");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the line to delete. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Delete a waiting line
[apiInstance waitinglinedeleteWith:token
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the line to delete.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.waitinglinedelete(token, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class waitinglinedeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the line to delete. (default to null)

            try
            {
                // Delete a waiting line
                apiInstance.waitinglinedelete(token, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.waitinglinedelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the line to delete.

try {
    $api_instance->waitinglinedelete($token, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->waitinglinedelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the line to delete.

eval { 
    $api_instance->waitinglinedelete(token => $token, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->waitinglinedelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the line to delete. (default to null)

try: 
    # Delete a waiting line
    api_instance.waitinglinedelete(token, id)
except ApiException as e:
    print("Exception when calling DefaultApi->waitinglinedelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.waitinglinedelete(token, id, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the line to delete.
Required

Responses


waitinglineget

View details of a waiting line

Allows the user to view the details of a waiting line in a location to which they are scoped.


/waitinglineget

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/waitinglineget?token=&id=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the waiting line to get.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.waitinglineget(token, id, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#waitinglineget");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the waiting line to get.
        Integer photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
        try {
            apiInstance.waitinglineget(token, id, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#waitinglineget");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the waiting line to get. (default to null)
Integer *photosize = 56; // The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View details of a waiting line
[apiInstance waitinglinegetWith:token
    id:id
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the waiting line to get.
var opts = {
  'photosize': 56 // {Integer} The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.waitinglineget(token, id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class waitinglinegetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var id = new UUID(); // UUID | The id of the waiting line to get. (default to null)
            var photosize = 56;  // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional)  (default to null)

            try
            {
                // View details of a waiting line
                apiInstance.waitinglineget(token, id, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.waitinglineget: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the waiting line to get.
$photosize = 56; // Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

try {
    $api_instance->waitinglineget($token, $id, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->waitinglineget: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the waiting line to get.
my $photosize = 56; # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

eval { 
    $api_instance->waitinglineget(token => $token, id => $id, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->waitinglineget: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the waiting line to get. (default to null)
photosize = 56 # Integer | The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned. (optional) (default to null)

try: 
    # View details of a waiting line
    api_instance.waitinglineget(token, id, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->waitinglineget: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.waitinglineget(token, id, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
id*
UUID (uuid)
The id of the waiting line to get.
Required
photosize
Integer (int32)
The size in pixels of the photo URLs returned. Defaults to 40. If the size specified is not available, a similar one will be returned.

Responses


waitinglineisuserin

Check whether a user is in a waiting line, signed-in or is not in the area


/waitinglineisuserin

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/waitinglineisuserin?station=&time=&user=&location="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station.
        Date time = 2013-10-20T19:20:30+01:00; // Date | The date and time of the swipe.
        String user = user_example; // String | The card number of the user.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.
        try {
            apiInstance.waitinglineisuserin(station, time, user, location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#waitinglineisuserin");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station.
        Date time = 2013-10-20T19:20:30+01:00; // Date | The date and time of the swipe.
        String user = user_example; // String | The card number of the user.
        UUID location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.
        try {
            apiInstance.waitinglineisuserin(station, time, user, location);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#waitinglineisuserin");
            e.printStackTrace();
        }
    }
}
UUID *station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the sign-in station. (default to null)
Date *time = 2013-10-20T19:20:30+01:00; // The date and time of the swipe. (default to null)
String *user = user_example; // The card number of the user. (default to null)
UUID *location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the location the user picked. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Check whether a user is in a waiting line, signed-in or is not in the area
[apiInstance waitinglineisuserinWith:station
    time:time
    user:user
    location:location
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the sign-in station.
var time = 2013-10-20T19:20:30+01:00; // {Date} The date and time of the swipe.
var user = user_example; // {String} The card number of the user.
var opts = {
  'location': 38400000-8cf0-11bd-b23e-10b96e4ef00d // {UUID} The id of the location the user picked.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.waitinglineisuserin(station, time, user, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class waitinglineisuserinExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var station = new UUID(); // UUID | The id of the sign-in station. (default to null)
            var time = 2013-10-20T19:20:30+01:00;  // Date | The date and time of the swipe. (default to null)
            var user = user_example;  // String | The card number of the user. (default to null)
            var location = new UUID(); // UUID | The id of the location the user picked. (optional)  (default to null)

            try
            {
                // Check whether a user is in a waiting line, signed-in or is not in the area
                apiInstance.waitinglineisuserin(station, time, user, location);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.waitinglineisuserin: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the sign-in station.
$time = 2013-10-20T19:20:30+01:00; // Date | The date and time of the swipe.
$user = user_example; // String | The card number of the user.
$location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the location the user picked.

try {
    $api_instance->waitinglineisuserin($station, $time, $user, $location);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->waitinglineisuserin: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the sign-in station.
my $time = 2013-10-20T19:20:30+01:00; # Date | The date and time of the swipe.
my $user = user_example; # String | The card number of the user.
my $location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the location the user picked.

eval { 
    $api_instance->waitinglineisuserin(station => $station, time => $time, user => $user, location => $location);
};
if ($@) {
    warn "Exception when calling DefaultApi->waitinglineisuserin: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
station = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the sign-in station. (default to null)
time = 2013-10-20T19:20:30+01:00 # Date | The date and time of the swipe. (default to null)
user = user_example # String | The card number of the user. (default to null)
location = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the location the user picked. (optional) (default to null)

try: 
    # Check whether a user is in a waiting line, signed-in or is not in the area
    api_instance.waitinglineisuserin(station, time, user, location=location)
except ApiException as e:
    print("Exception when calling DefaultApi->waitinglineisuserin: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let station = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let time = 2013-10-20T19:20:30+01:00; // Date
    let user = user_example; // String
    let location = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.waitinglineisuserin(station, time, user, location, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
station*
UUID (uuid)
The id of the sign-in station.
Required
time*
Date (date-time)
The date and time of the swipe.
Required
user*
String
The card number of the user.
Required
location
UUID (uuid)
The id of the location the user picked.

Responses


waitinglinelist

View a list of waiting lines

Allows the user to view the list of waiting lines in locations to which they are scoped.


/waitinglinelist

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/waitinglinelist?token=&from=&count="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.waitinglinelist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#waitinglinelist");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        Integer from = 56; // Integer | The first record to return.
        Integer count = 56; // Integer | The max number of records to return.
        try {
            apiInstance.waitinglinelist(token, from, count);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#waitinglinelist");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
Integer *from = 56; // The first record to return. (default to null)
Integer *count = 56; // The max number of records to return. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// View a list of waiting lines
[apiInstance waitinglinelistWith:token
    from:from
    count:count
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var from = 56; // {Integer} The first record to return.
var count = 56; // {Integer} The max number of records to return.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.waitinglinelist(token, from, count, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class waitinglinelistExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var from = 56;  // Integer | The first record to return. (default to null)
            var count = 56;  // Integer | The max number of records to return. (default to null)

            try
            {
                // View a list of waiting lines
                apiInstance.waitinglinelist(token, from, count);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.waitinglinelist: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$from = 56; // Integer | The first record to return.
$count = 56; // Integer | The max number of records to return.

try {
    $api_instance->waitinglinelist($token, $from, $count);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->waitinglinelist: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $from = 56; # Integer | The first record to return.
my $count = 56; # Integer | The max number of records to return.

eval { 
    $api_instance->waitinglinelist(token => $token, from => $from, count => $count);
};
if ($@) {
    warn "Exception when calling DefaultApi->waitinglinelist: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
from = 56 # Integer | The first record to return. (default to null)
count = 56 # Integer | The max number of records to return. (default to null)

try: 
    # View a list of waiting lines
    api_instance.waitinglinelist(token, from, count)
except ApiException as e:
    print("Exception when calling DefaultApi->waitinglinelist: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let from = 56; // Integer
    let count = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.waitinglinelist(token, from, count, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
from*
Integer (int32)
The first record to return.
Required
count*
Integer (int32)
The max number of records to return.
Required

Responses


waitinglineremoveuser

Remove a user from a waiting line

Allows the user to remove a user from a waiting line, provided they have permission to access that waiting line.


/waitinglineremoveuser

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/waitinglineremoveuser?token=&waitingline=&itemid="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID waitingline = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the waiting line whose item has to be removed.
        UUID itemid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the item that has to be removed.
        try {
            apiInstance.waitinglineremoveuser(token, waitingline, itemid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#waitinglineremoveuser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID waitingline = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the waiting line whose item has to be removed.
        UUID itemid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the item that has to be removed.
        try {
            apiInstance.waitinglineremoveuser(token, waitingline, itemid);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#waitinglineremoveuser");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *waitingline = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the waiting line whose item has to be removed. (default to null)
UUID *itemid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The ID of the item that has to be removed. (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Remove a user from a waiting line
[apiInstance waitinglineremoveuserWith:token
    waitingline:waitingline
    itemid:itemid
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var waitingline = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the waiting line whose item has to be removed.
var itemid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The ID of the item that has to be removed.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.waitinglineremoveuser(token, waitingline, itemid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class waitinglineremoveuserExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var waitingline = new UUID(); // UUID | The id of the waiting line whose item has to be removed. (default to null)
            var itemid = new UUID(); // UUID | The ID of the item that has to be removed. (default to null)

            try
            {
                // Remove a user from a waiting line
                apiInstance.waitinglineremoveuser(token, waitingline, itemid);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.waitinglineremoveuser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$waitingline = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the waiting line whose item has to be removed.
$itemid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the item that has to be removed.

try {
    $api_instance->waitinglineremoveuser($token, $waitingline, $itemid);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->waitinglineremoveuser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $waitingline = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the waiting line whose item has to be removed.
my $itemid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The ID of the item that has to be removed.

eval { 
    $api_instance->waitinglineremoveuser(token => $token, waitingline => $waitingline, itemid => $itemid);
};
if ($@) {
    warn "Exception when calling DefaultApi->waitinglineremoveuser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
waitingline = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the waiting line whose item has to be removed. (default to null)
itemid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The ID of the item that has to be removed. (default to null)

try: 
    # Remove a user from a waiting line
    api_instance.waitinglineremoveuser(token, waitingline, itemid)
except ApiException as e:
    print("Exception when calling DefaultApi->waitinglineremoveuser: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let waitingline = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let itemid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.waitinglineremoveuser(token, waitingline, itemid, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
waitingline*
UUID (uuid)
The id of the waiting line whose item has to be removed.
Required
itemid*
UUID (uuid)
The ID of the item that has to be removed.
Required

Responses


waitinglinesave

Create or edit a waiting line

Allows the user to create or edit a waiting line in a location to which they are scoped.


/waitinglinesave

Usage and SDK Samples

curl -X POST "https://accucampus.net/api/v1/waitinglinesave"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.waitinglinesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#waitinglinesave");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UNKNOWN_BASE_TYPE uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 
        try {
            apiInstance.waitinglinesave(uNKNOWNBASETYPE);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#waitinglinesave");
            e.printStackTrace();
        }
    }
}
UNKNOWN_BASE_TYPE *uNKNOWNBASETYPE = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Create or edit a waiting line
[apiInstance waitinglinesaveWith:uNKNOWNBASETYPE
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var opts = {
  'uNKNOWNBASETYPE':  // {UNKNOWN_BASE_TYPE} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.waitinglinesave(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class waitinglinesaveExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var uNKNOWNBASETYPE = new UNKNOWN_BASE_TYPE(); // UNKNOWN_BASE_TYPE |  (optional) 

            try
            {
                // Create or edit a waiting line
                apiInstance.waitinglinesave(uNKNOWNBASETYPE);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.waitinglinesave: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE | 

try {
    $api_instance->waitinglinesave($uNKNOWNBASETYPE);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->waitinglinesave: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $uNKNOWNBASETYPE = WWW::OPenAPIClient::Object::UNKNOWN_BASE_TYPE->new(); # UNKNOWN_BASE_TYPE | 

eval { 
    $api_instance->waitinglinesave(uNKNOWNBASETYPE => $uNKNOWNBASETYPE);
};
if ($@) {
    warn "Exception when calling DefaultApi->waitinglinesave: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
uNKNOWNBASETYPE =  # UNKNOWN_BASE_TYPE |  (optional)

try: 
    # Create or edit a waiting line
    api_instance.waitinglinesave(uNKNOWNBASETYPE=uNKNOWNBASETYPE)
except ApiException as e:
    print("Exception when calling DefaultApi->waitinglinesave: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let uNKNOWNBASETYPE = ; // UNKNOWN_BASE_TYPE

    let mut context = DefaultApi::Context::default();
    let result = client.waitinglinesave(uNKNOWNBASETYPE, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Body parameters
Name Description
uNKNOWNBASETYPE

Responses


waitinglinesigninuser

Sign a user in from a waiting line

Allows the user to sign a user in from a waiting line, provided they have permission to access that waiting line.


/waitinglinesigninuser

Usage and SDK Samples

curl -X GET "https://accucampus.net/api/v1/waitinglinesigninuser?token=&waitingline=&itemid=&staff=&photosize="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID waitingline = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the waiting line whose item needs to be signed-in.
        UUID itemid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the item that has to be signed-in.
        UUID staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff member selected to sign-in.
        Integer photosize = 56; // Integer | The swiping user's photo size.
        try {
            apiInstance.waitinglinesigninuser(token, waitingline, itemid, staff, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#waitinglinesigninuser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | The authentication token.
        UUID waitingline = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the waiting line whose item needs to be signed-in.
        UUID itemid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the item that has to be signed-in.
        UUID staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff member selected to sign-in.
        Integer photosize = 56; // Integer | The swiping user's photo size.
        try {
            apiInstance.waitinglinesigninuser(token, waitingline, itemid, staff, photosize);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#waitinglinesigninuser");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // The authentication token. (default to null)
UUID *waitingline = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the waiting line whose item needs to be signed-in. (default to null)
UUID *itemid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The ID of the item that has to be signed-in. (default to null)
UUID *staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The id of the staff member selected to sign-in. (default to null)
Integer *photosize = 56; // The swiping user's photo size. (optional) (default to null)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Sign a user in from a waiting line
[apiInstance waitinglinesigninuserWith:token
    waitingline:waitingline
    itemid:itemid
    staff:staff
    photosize:photosize
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AccuCampusOpenApi3Documentation = require('accu_campus_open_api_3_documentation');

var api = new AccuCampusOpenApi3Documentation.DefaultApi()
var token = token_example; // {String} The authentication token.
var waitingline = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the waiting line whose item needs to be signed-in.
var itemid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The ID of the item that has to be signed-in.
var staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The id of the staff member selected to sign-in.
var opts = {
  'photosize': 56 // {Integer} The swiping user's photo size.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.waitinglinesigninuser(token, waitingline, itemid, staff, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class waitinglinesigninuserExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | The authentication token. (default to null)
            var waitingline = new UUID(); // UUID | The id of the waiting line whose item needs to be signed-in. (default to null)
            var itemid = new UUID(); // UUID | The ID of the item that has to be signed-in. (default to null)
            var staff = new UUID(); // UUID | The id of the staff member selected to sign-in. (default to null)
            var photosize = 56;  // Integer | The swiping user's photo size. (optional)  (default to null)

            try
            {
                // Sign a user in from a waiting line
                apiInstance.waitinglinesigninuser(token, waitingline, itemid, staff, photosize);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.waitinglinesigninuser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$token = token_example; // String | The authentication token.
$waitingline = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the waiting line whose item needs to be signed-in.
$itemid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The ID of the item that has to be signed-in.
$staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The id of the staff member selected to sign-in.
$photosize = 56; // Integer | The swiping user's photo size.

try {
    $api_instance->waitinglinesigninuser($token, $waitingline, $itemid, $staff, $photosize);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->waitinglinesigninuser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $token = token_example; # String | The authentication token.
my $waitingline = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the waiting line whose item needs to be signed-in.
my $itemid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The ID of the item that has to be signed-in.
my $staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The id of the staff member selected to sign-in.
my $photosize = 56; # Integer | The swiping user's photo size.

eval { 
    $api_instance->waitinglinesigninuser(token => $token, waitingline => $waitingline, itemid => $itemid, staff => $staff, photosize => $photosize);
};
if ($@) {
    warn "Exception when calling DefaultApi->waitinglinesigninuser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.DefaultApi()
token = token_example # String | The authentication token. (default to null)
waitingline = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the waiting line whose item needs to be signed-in. (default to null)
itemid = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The ID of the item that has to be signed-in. (default to null)
staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The id of the staff member selected to sign-in. (default to null)
photosize = 56 # Integer | The swiping user's photo size. (optional) (default to null)

try: 
    # Sign a user in from a waiting line
    api_instance.waitinglinesigninuser(token, waitingline, itemid, staff, photosize=photosize)
except ApiException as e:
    print("Exception when calling DefaultApi->waitinglinesigninuser: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let token = token_example; // String
    let waitingline = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let itemid = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let staff = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let photosize = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.waitinglinesigninuser(token, waitingline, itemid, staff, photosize, &context).wait();
    println!("{:?}", result);

}

Scopes

Parameters

Query parameters
Name Description
token*
String
The authentication token.
Required
waitingline*
UUID (uuid)
The id of the waiting line whose item needs to be signed-in.
Required
itemid*
UUID (uuid)
The ID of the item that has to be signed-in.
Required
staff*
UUID (uuid)
The id of the staff member selected to sign-in.
Required
photosize
Integer (int32)
The swiping user's photo size.

Responses